We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f124be commit b1407caCopy full SHA for b1407ca
1 file changed
.github/workflows/test-wasm-release.yml
@@ -37,6 +37,23 @@ jobs:
37
path: wasm/confidence_resolver.wasm
38
retention-days: 7
39
40
+ - name: Compute tag (PR)
41
+ if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false }}
42
+ id: compute_tag_pr
43
+ run: |
44
+ echo "tag=test-wasm-pr-${GITHUB_SHA}" >> $GITHUB_OUTPUT
45
+
46
+ - name: Upload WASM to draft release (PR)
47
48
+ uses: softprops/action-gh-release@v2
49
+ with:
50
+ tag_name: ${{ steps.compute_tag_pr.outputs.tag }}
51
+ draft: true
52
+ files: |
53
+ wasm/confidence_resolver.wasm
54
+ env:
55
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56
57
- name: Compute tag
58
if: ${{ github.event_name == 'workflow_dispatch' }}
59
id: compute_tag
0 commit comments