File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
.github/actions/compress_sign_and_upload Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -22,22 +22,23 @@ runs:
2222 shell : bash
2323
2424 - name : Get release version and release package file name
25- id : vars
25+ id : get_vars
2626 shell : bash
2727 run : |
2828 package_version=$(jq --raw-output '.version' package.json)
2929 echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
3030 echo "package_file=bson-${package_version}.tgz" >> "$GITHUB_OUTPUT"
31-
3231 - name : Create detached signature
3332 uses : mongodb-labs/drivers-github-tools/garasign/gpg-sign@v1
3433 with :
35- filenames : ${{ steps.vars .package_file }}
34+ filenames : ${{ steps.get_vars.outputs .package_file }}
3635 garasign_username : ${{ inputs.garasign_username }}
3736 garasign_password : ${{ inputs.garasign_password }}
3837 artifactory_username : ${{ inputs.artifactory_username }}
3938 artifactory_password : ${{ inputs.artifactory_password }}
4039
4140 - name : " Upload release artifacts"
42- run : gh release upload v${{ steps.vars.package_version }} ${{ steps.vars.package_file }}.sig
43- shell : bash
41+ run : gh release upload v${{ steps.get_vars.outputs.package_version }} ${{ steps.get_vars.outputs.package_file }}.sig
42+ shell : bash
43+ env :
44+ GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments