File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
.github/actions/compress_sign_and_upload Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,25 @@ runs:
31
31
package_version=$(jq --raw-output '.version' package.json)
32
32
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
33
33
echo "package_file=${{ inputs.npm_package_name }}-${package_version}.tgz" >> "$GITHUB_OUTPUT"
34
+
34
35
- name : Set up drivers-github-tools
35
36
uses : mongodb-labs/drivers-github-tools/setup@v2
36
37
with :
37
38
aws_region_name : ${{ inputs.aws_region_name }}
38
39
aws_role_arn : ${{ inputs.aws_role_arn }}
39
40
aws_secret_id : ${{ inputs.aws_secret_id }}
41
+
40
42
- name : Create detached signature
41
43
uses : mongodb-labs/drivers-github-tools/gpg-sign@v2
42
44
with :
43
- filenames : ${{ steps.get_vars.outputs.package_file }}
45
+ filenames : ${{ steps.get_vars.outputs.package_file }
44
46
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
+
46
53
- name : " Upload release artifacts"
47
54
run : gh release upload v${{ steps.get_vars.outputs.package_version }} ${{ steps.get_vars.outputs.package_file }}.sig
48
55
shell : bash
You can’t perform that action at this time.
0 commit comments