We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25acaf8 commit 1c49d08Copy full SHA for 1c49d08
.github/workflows/build-package-files.yml
@@ -49,9 +49,17 @@ jobs:
49
# - name: "Install release archive to verify correctness"
50
# run: pecl install mongodb-${{ env.PACKAGE_VERSION }}.tgz
51
52
- - name: "Upload archive"
+ - name: "Upload artifact"
53
uses: actions/upload-artifact@v4
54
with:
55
name: mongodb-${{ env.PACKAGE_VERSION }}.tgz
56
path: mongodb-${{ env.PACKAGE_VERSION }}.tgz
57
retention-days: 3
58
+
59
+ - name: "Upload release artifact"
60
+ if: ${{ github.ref_type == 'tag' }}
61
+ run: gh release upload ${{ github.ref_name }} mongodb-${{ env.PACKAGE_VERSION }}.tgz
62
+ # Until we've changed the process to always have a release draft, ignore errors during upload
63
+ continue-on-error: true
64
+ env:
65
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments