Skip to content

Commit 413d67d

Browse files
rename working
1 parent 6433cf2 commit 413d67d

File tree

1 file changed

+9
-2
lines changed
  • .github/actions/compress_sign_and_upload

1 file changed

+9
-2
lines changed

.github/actions/compress_sign_and_upload/action.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,25 @@ runs:
3131
package_version=$(jq --raw-output '.version' package.json)
3232
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
3333
echo "package_file=${{ inputs.npm_package_name }}-${package_version}.tgz" >> "$GITHUB_OUTPUT"
34+
3435
- name: Set up drivers-github-tools
3536
uses: mongodb-labs/drivers-github-tools/setup@v2
3637
with:
3738
aws_region_name: ${{ inputs.aws_region_name }}
3839
aws_role_arn: ${{ inputs.aws_role_arn }}
3940
aws_secret_id: ${{ inputs.aws_secret_id }}
41+
4042
- name: Create detached signature
4143
uses: mongodb-labs/drivers-github-tools/gpg-sign@v2
4244
with:
43-
filenames: ${{ steps.get_vars.outputs.package_file }}
45+
filenames: ${{ steps.get_vars.outputs.package_file }
4446
env:
45-
RELEASE_ASSETS: ${{ steps.get_vars.outputs.package_file }}.sig
47+
RELEASE_ASSETS: ${{ steps.get_vars.outputs.package_file }}.temp.sig
48+
49+
- name: Name release asset correctly
50+
run: mv ${{ steps.get_vars.outputs.package_file }}.temp.sig ${{ steps.get_vars.outputs.package_file }}.sig
51+
shell: bash
52+
4653
- name: "Upload release artifacts"
4754
run: gh release upload v${{ steps.get_vars.outputs.package_version }} ${{ steps.get_vars.outputs.package_file }}.sig
4855
shell: bash

0 commit comments

Comments
 (0)