Skip to content

Commit

Permalink
variable access fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-khare-mongoDB committed May 28, 2024
1 parent 4b5e4b5 commit b9bda69
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/actions/compress_sign_and_upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
shell: bash

- name: Get release version and release package file name
id: vars
id: get_vars
shell: bash
run: |
package_version=$(jq --raw-output '.version' package.json)
Expand All @@ -31,12 +31,14 @@ runs:
- name: Create detached signature
uses: mongodb-labs/drivers-github-tools/garasign/gpg-sign@v1
with:
filenames: ${{ steps.vars.package_file }}
filenames: ${{ steps.get_vars.outputs.package_file }}
garasign_username: ${{ inputs.garasign_username }}
garasign_password: ${{ inputs.garasign_password }}
artifactory_username: ${{ inputs.artifactory_username }}
artifactory_password: ${{ inputs.artifactory_password }}

- name: "Upload release artifacts"
run: gh release upload v${{ steps.vars.package_version }} ${{ steps.vars.package_file }}.sig
shell: bash
run: gh release upload v${{ steps.get_vars.outputs.package_version }} ${{ steps.get_vars.outputs.package_file }}.sig
shell: bash
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit b9bda69

Please sign in to comment.