Fix ARCHIVE_FILENAME env var use in release.xml

issue #904
This commit is contained in:
Simon Edwards 2021-12-28 16:25:50 +01:00
parent b6ae8ad1cc
commit 640c77dd56
2 changed files with 5 additions and 5 deletions

View File

@ -49,19 +49,19 @@ jobs:
cwd: ./build/Release
files: |
./nodegui_core.node
outPath: ${{ ARCHIVE_FILENAME }}
outPath: ${{ env.ARCHIVE_FILENAME }}
- uses: actions/upload-artifact@v1
with:
name: ${{ ARCHIVE_FILENAME }}
path: ${{ ARCHIVE_FILENAME }}
name: ${{ env.ARCHIVE_FILENAME }}
path: ${{ env.ARCHIVE_FILENAME }}
- name: Upload release binaries
uses: alexellis/upload-assets@0.2.2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["${{ ARCHIVE_FILENAME }}"]'
asset_paths: '["${{ env.ARCHIVE_FILENAME }}"]'
publish-npm-package:
needs: precompile

View File

@ -17,7 +17,7 @@ jobs:
if: contains(matrix.os, 'ubuntu')
run: sudo apt install mesa-common-dev libglu1-mesa-dev
- name: Install deps
run: yarn install
run: npm install
- name: Build nodegui
run: npm run build
env: