Skip to content

Commit b5d5ee6

Browse files
committed
restore
1 parent eed2131 commit b5d5ee6

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

.github/workflows/release.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
name: Release
22
on: workflow_dispatch
33
jobs:
4-
# release:
5-
# runs-on: ubuntu-latest
6-
# permissions:
7-
# contents: write
8-
# issues: write
9-
# env:
10-
# CI: "true"
11-
# steps:
12-
# - name: Checkout
13-
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
14-
# with:
15-
# fetch-depth: 0
16-
# - name: Set git config safe.directory
17-
# run: git config --global --add safe.directory "$(pwd)"
18-
# - name: Set git identity
19-
# run: |-
20-
# git config user.name "github-actions"
21-
# git config user.email "[email protected]"
22-
# - name: Setup Node.js
23-
# uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
24-
# with:
25-
# node-version: 18.x
26-
# - name: Install dependencies
27-
# run: yarn install --check-files --frozen-lockfile
28-
# - name: release
29-
# run: npx projen release
30-
# - name: Backup artifact permissions
31-
# run: cd dist && getfacl -R . > permissions-backup.acl
32-
# continue-on-error: true
33-
# - name: Upload artifact
34-
# uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
35-
# with:
36-
# name: build-artifact
37-
# path: dist
38-
# overwrite: true
4+
release:
5+
runs-on: ubuntu-latest
6+
permissions:
7+
contents: write
8+
issues: write
9+
env:
10+
CI: "true"
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
14+
with:
15+
fetch-depth: 0
16+
- name: Set git config safe.directory
17+
run: git config --global --add safe.directory "$(pwd)"
18+
- name: Set git identity
19+
run: |-
20+
git config user.name "github-actions"
21+
git config user.email "[email protected]"
22+
- name: Setup Node.js
23+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
24+
with:
25+
node-version: 18.x
26+
- name: Install dependencies
27+
run: yarn install --check-files --frozen-lockfile
28+
- name: release
29+
run: npx projen release
30+
- name: Backup artifact permissions
31+
run: cd dist && getfacl -R . > permissions-backup.acl
32+
continue-on-error: true
33+
- name: Upload artifact
34+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
35+
with:
36+
name: build-artifact
37+
path: dist
38+
overwrite: true
3939
# release_npm:
4040
# name: Publish to npm
4141
# needs: release
@@ -184,7 +184,7 @@ jobs:
184184
# body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
185185
release_nuget:
186186
name: Publish to NuGet Gallery
187-
# needs: release
187+
needs: release
188188
runs-on: ubuntu-latest
189189
permissions:
190190
contents: read

0 commit comments

Comments
 (0)