Fix: artifact not releasing #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Tracks | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12 | |
- name: Install Scoop - setup - build | |
shell: pwsh | |
run: | | |
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | |
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | |
scoop install just | |
just deps | |
make | |
gcc -E -x c tracks.pnml > tracks.nml | |
nmlc tracks.nml --grf=china-set-tracks.grf | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: chinas-set-tracks.grf | |
path: ./china-set-tracks.grf |