Skip to content

upgrade upload-artifact action #10

upgrade upload-artifact action

upgrade upload-artifact action #10

actions/upload-artifact@v4name: build-windows-x86

Check failure on line 1 in .github/workflows/build-windows-x86.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-windows-x86.yml

Invalid workflow file

The workflow is not valid. .github/workflows/build-windows-x86.yml (Line: 1, Col: 1): Unexpected value 'actions/upload-artifact@v4name'
on:
push:
branches:
- "*"
env:
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare
jobs:
build-windows:
if: github.event.pull_request.draft == false
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
run: choco install nasm
- name: Environment Info
run: npx envinfo
- name: Build
run: ./vcbuild.bat dll x86
- name: Upload libnode.dll artifact
uses: actions/upload-artifact@v2
with:
name: libnode.dll
path: out/Release/libnode.dll
- name: Upload libnode.lib artifact
uses: actions/upload-artifact@v2
with:
name: libnode.lib
path: out/Release/libnode.lib