Skip to content

Commit cfaefdc

Browse files
variable access fixed
1 parent 356c12e commit cfaefdc

File tree

1 file changed

+6
-4
lines changed
  • .github/actions/compress_sign_and_upload

1 file changed

+6
-4
lines changed

.github/actions/compress_sign_and_upload/action.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ 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)
@@ -31,12 +31,14 @@ runs:
3131
- name: Create detached signature
3232
uses: mongodb-labs/drivers-github-tools/garasign/gpg-sign@v1
3333
with:
34-
filenames: ${{ steps.vars.package_file }}
34+
filenames: ${{ steps.get_vars.outputs.package_file }}
3535
garasign_username: ${{ inputs.garasign_username }}
3636
garasign_password: ${{ inputs.garasign_password }}
3737
artifactory_username: ${{ inputs.artifactory_username }}
3838
artifactory_password: ${{ inputs.artifactory_password }}
3939

4040
- name: "Upload release artifacts"
41-
run: gh release upload v${{ steps.vars.package_version }} ${{ steps.vars.package_file }}.sig
42-
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 }}

0 commit comments

Comments
 (0)