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:
22
22
shell : bash
23
23
24
24
- name : Get release version and release package file name
25
- id : vars
25
+ id : get_vars
26
26
shell : bash
27
27
run : |
28
28
package_version=$(jq --raw-output '.version' package.json)
29
29
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
30
30
echo "package_file=bson-${package_version}.tgz" >> "$GITHUB_OUTPUT"
31
-
32
31
- name : Create detached signature
33
32
uses : mongodb-labs/drivers-github-tools/garasign/gpg-sign@v1
34
33
with :
35
- filenames : ${{ steps.vars .package_file }}
34
+ filenames : ${{ steps.get_vars.outputs .package_file }}
36
35
garasign_username : ${{ inputs.garasign_username }}
37
36
garasign_password : ${{ inputs.garasign_password }}
38
37
artifactory_username : ${{ inputs.artifactory_username }}
39
38
artifactory_password : ${{ inputs.artifactory_password }}
40
39
41
40
- 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