File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 description : ' Tag for draft release (e.g. test-wasm-<sha>)'
88 required : false
99 default : ' '
10+ pull_request :
1011
1112jobs :
1213 build-and-upload :
2829 - name : Build WASM artifact
2930 run : make wasm/confidence_resolver.wasm
3031
32+ - name : Upload WASM artifact (PR)
33+ if : ${{ github.event_name == 'pull_request' }}
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : confidence_resolver.wasm
37+ path : wasm/confidence_resolver.wasm
38+ retention-days : 7
39+
3140 - name : Compute tag
41+ if : ${{ github.event_name == 'workflow_dispatch' }}
3242 id : compute_tag
3343 run : |
3444 if [ -n "${{ github.event.inputs.tag_name }}" ]; then
3848 fi
3949
4050 - name : Upload WASM to draft release
51+ if : ${{ github.event_name == 'workflow_dispatch' }}
4152 uses : softprops/action-gh-release@v2
4253 with :
4354 tag_name : ${{ steps.compute_tag.outputs.tag }}
You can’t perform that action at this time.
0 commit comments