Skip to content

Commit 20311e0

Browse files
committed
Split build and release jobs
1 parent fc4babc commit 20311e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@ jobs:
2020
snapshot:
2121
uses: ./.github/workflows/release.yml
2222
needs: build
23+
secrets: inherit
2324
if: |
2425
needs.build.result == 'success'
2526
&& github.event_name == 'pull_request'
26-
secrets: inherit
2727
with:
2828
snapshot: true
2929

3030
release:
3131
uses: ./.github/workflows/release-auto.yml
3232
needs: build
33+
secrets: inherit
3334
if: |
3435
needs.build.result == 'success'
3536
&& github.event_name == 'push'

0 commit comments

Comments
 (0)