Skip to content

Commit

Permalink
fix(ci): use env prefix for env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 23, 2020
1 parent 67b9ae1 commit 25f5816
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
with:
submodules: true

- name: Setup nodejs v$NODE_VERSION
- name: Setup nodejs v${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: $NODE_VERSION
node-version: ${{ env.NODE_VERSION }}
- run: npm ci --no-save
- name: npm run build:binary -- node$NODE_VERSION-$TARGET-x64 $ASSET_FILENAME
run: npm run build:binary -- node$NODE_VERSION-$TARGET-x64 $ASSET_FILENAME
- name: npm run build:binary -- node${{ env.NODE_VERSION }}-$TARGET-x64 $ASSET_FILENAME
run: npm run build:binary -- node${{ env.NODE_VERSION }}-$TARGET-x64 $ASSET_FILENAME

- name: Load release url file from create_release job
uses: actions/download-artifact@v1
Expand All @@ -62,10 +62,10 @@ jobs:
- name: Get release upload url
id: release_info
run: |
value=$(cat release_url/release_url.txt)
echo ::set-output name=upload_url::$value
echo ::set-output name=asset_path::./bin/$ASSET_FILENAME.tar.gz
echo ::set-output name=asset_name::$ASSET_FILENAME.tar.gz
url=$(cat release_url/release_url.txt)
echo ::set-output name=upload_url::$url
echo ::set-output name=asset_path::./bin/${{ env.ASSET_FILENAME }}.tar.gz
echo ::set-output name=asset_name::${{ env.ASSET_FILENAME }}.tar.gz
- name: Upload release asset
id: upload-release-asset
Expand Down

0 comments on commit 25f5816

Please sign in to comment.