Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit d62b92e

Browse files
authored
Release 0.1.11 (#106)
1 parent 4606c00 commit d62b92e

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,23 @@ jobs:
4646
- name: Install production dependencies
4747
run: npm install --only=production
4848
- name: Create package tarball
49-
run: echo "tgz_name=$(npm pack)" >> $GITHUB_OUTPUT
49+
run: echo ::set-output name=tgz_name::$(npm pack)
5050
id: tgz
51-
- name: Upload tarball to release assets via GH CLI
52-
working-directory: .
51+
- name: Upload tarball to GH release assets
52+
uses: actions/upload-release-asset@v1
53+
id: upload
5354
env:
5455
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55-
run: echo "Ok"
56-
# run: gh release upload @aliceo2/run-condition-table@${{ needs.deploy-npm-module.outputs.VERSION }} ${{ steps.tgz.outputs.tgz_name }}
57-
# - name: Upload TARball to S3
58-
# uses: awegrzyn/s3-put-action@v1
59-
# with:
60-
# file: ./${{ steps.tgz.outputs.tgz_name }}
61-
# bucket: 's3://system-configuration/TARS/'
62-
# env:
63-
# ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
64-
# SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
56+
with:
57+
upload_url: ${{ github.event.release.upload_url }}
58+
asset_content_type: application/tar+gzip
59+
asset_path: ./${{ steps.tgz.outputs.tgz_name }}
60+
asset_name: ${{ steps.tgz.outputs.tgz_name }}
61+
- name: Upload TARball to S3
62+
uses: awegrzyn/s3-put-action@v1
63+
with:
64+
file: ./${{ steps.tgz.outputs.tgz_name }}
65+
bucket: 's3://system-configuration/TARS/'
66+
env:
67+
ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
68+
SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}

0 commit comments

Comments
 (0)