Skip to content

Commit a543e49

Browse files
temp for testing
1 parent a185e6a commit a543e49

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.github/actions/compress_sign_and_upload/action.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,17 @@ runs:
5050
run: mv ${{ steps.get_vars.outputs.package_file }}.temp.sig ${{ steps.get_vars.outputs.package_file }}.sig
5151
shell: bash
5252

53-
- name: "Upload release artifacts"
54-
run: gh release upload v${{ steps.get_vars.outputs.package_version }} ${{ steps.get_vars.outputs.package_file }}.sig
55-
shell: bash
56-
env:
57-
GH_TOKEN: ${{ github.token }}
53+
- name: Temporary step - Upload artifacts and check signature exists
54+
uses: actions/upload-artifact@v4
55+
with:
56+
name: ${{ env.PACKAGE_FILE }}
57+
path: |
58+
${{ env.PACKAGE_FILE }}
59+
${{ env.PACKAGE_FILE }}.sig
60+
retention-days: 3
61+
62+
# - name: "Upload release artifacts"
63+
# run: gh release upload v${{ steps.get_vars.outputs.package_version }} ${{ steps.get_vars.outputs.package_file }}.sig
64+
# shell: bash
65+
# env:
66+
# GH_TOKEN: ${{ github.token }}

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
compress_sign_and_upload:
2323
needs: [release_please]
24+
# if: ${{ needs.release_please.outputs.release_created }}
2425
environment: release
2526
runs-on: ubuntu-latest
2627
steps:
@@ -34,9 +35,9 @@ jobs:
3435
aws_region_name: 'us-east-1'
3536
aws_secret_id: ${{ secrets.AWS_SECRET_ID }}
3637
npm_package_name: 'bson'
37-
- run: npm publish --provenance
38-
env:
39-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
38+
# - run: npm publish --provenance
39+
# env:
40+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4041

4142
generate_sarif_report:
4243
environment: release

0 commit comments

Comments
 (0)