This repository was archived by the owner on Jan 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 2929 echo "Identified project: $PROJECT with version: $VERSION"
3030 echo "PROJECT=$PROJECT" >> $GITHUB_ENV
3131 echo "version=$VERSION" >> $GITHUB_OUTPUT
32- # - run: npm publish
33- # env:
34- # NODE_AUTH_TOKEN: ${{ secrets.NPM_DEPLOY_TOKEN }}
32+ - run : npm publish
33+ env :
34+ NODE_AUTH_TOKEN : ${{ secrets.NPM_DEPLOY_TOKEN }}
3535 upload-asset :
3636 runs-on : ubuntu-latest
3737 needs : deploy-npm-module
@@ -46,18 +46,12 @@ jobs:
4646 - name : Install production dependencies
4747 run : npm install --only=production
4848 - name : Create package tarball
49- run : echo ::set-output name= tgz_name:: $(npm pack)
49+ run : echo " tgz_name= $(npm pack)" >> $GITHUB_OUTPUT
5050 id : tgz
51- - name : Upload tarball to GH release assets
52- uses : actions/upload-release-asset@v1
53- id : upload
51+ - name : Upload tarball to release assets via GH CLI
5452 env :
5553 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
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 }}
54+ run : gh release upload @aliceo2/run-condition-table@${{ needs.deploy-npm-module.outputs.VERSION }} ${{ steps.tgz.outputs.tgz_name }}
6155 - name : Upload TARball to S3
6256 uses : awegrzyn/s3-put-action@v1
6357 with :
You can’t perform that action at this time.
0 commit comments