Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 17 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,23 @@ jobs:
- name: Install production dependencies
run: npm install --only=production
- name: Create package tarball
run: echo "tgz_name=$(npm pack)" >> $GITHUB_OUTPUT
run: echo ::set-output name=tgz_name::$(npm pack)
id: tgz
- name: Upload tarball to release assets via GH CLI
working-directory: .
- name: Upload tarball to GH release assets
uses: actions/upload-release-asset@v1
id: upload
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "Ok"
# run: gh release upload @aliceo2/run-condition-table@${{ needs.deploy-npm-module.outputs.VERSION }} ${{ steps.tgz.outputs.tgz_name }}
# - name: Upload TARball to S3
# uses: awegrzyn/s3-put-action@v1
# with:
# file: ./${{ steps.tgz.outputs.tgz_name }}
# bucket: 's3://system-configuration/TARS/'
# env:
# ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
# SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_content_type: application/tar+gzip
asset_path: ./${{ steps.tgz.outputs.tgz_name }}
asset_name: ${{ steps.tgz.outputs.tgz_name }}
- name: Upload TARball to S3
uses: awegrzyn/s3-put-action@v1
with:
file: ./${{ steps.tgz.outputs.tgz_name }}
bucket: 's3://system-configuration/TARS/'
env:
ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}