Skip to content

Commit 0b1e035

Browse files
committed
run deploy job for relase artifacts
1 parent 142898b commit 0b1e035

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/deploy-program.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
git_ref: ${{ inputs.git_ref }}
6464

6565
test_programs:
66-
name: Programs
66+
name: Test Programs
6767
uses: ./.github/workflows/test-programs.yml
6868
secrets: inherit
6969
needs: [build_programs, check_tag]
@@ -93,7 +93,13 @@ jobs:
9393
deploy_program:
9494
name: Program / Deploy
9595
runs-on: ubuntu-latest-16-cores
96-
needs: [test_js, test_programs, test_rust, check_tag]
96+
needs: check_tag
97+
if: |
98+
(needs.check_tag.outputs.type == 'ref' &&
99+
success('test_js') &&
100+
success('test_programs') &&
101+
success('test_rust')) ||
102+
needs.check_tag.outputs.type == 'release'
97103
permissions:
98104
contents: write
99105
steps:

0 commit comments

Comments
 (0)