Workflow file for this run
This file contains hidden or 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
on: | |
push: | |
pull_request: | |
branches: | |
- beta | |
paths-ignore: | |
- '**.md' | |
name: Latest Beta | |
jobs: | |
windows: | |
name: "Build Windows x64" | |
runs-on: windows-2022 | |
defaults: | |
run: | |
working-directory: ${{github.workspace}}/main | |
steps: | |
- name: Get AV | |
uses: actions/checkout@v3 | |
with: | |
path: main | |
- name: Get MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Obtain oggenc2.exe | |
run: > | |
curl https://www.rarewares.org/files/ogg/oggenc2.88-1.3.7-x64.zip --output oggenc.zip && | |
unzip oggenc.zip -d . | |
- name: Build AV | |
run: msbuild build\VisualStudio\ArrowVortex.vcxproj /p:Configuration=Release /p:Platform=x64 | |
- name: Collect into a zip | |
run: | | |
mkdir AV | |
cd AV | |
cp -r ../bin/assets . | |
cp -r ../bin/noteskins . | |
cp -r ../bin/settings . | |
cp ../bin/ArrowVortex.exe . | |
cp ../oggenc2.exe . | |
mkdir output | |
7z.exe a -tzip output/av.zip AV | |
- run: ls output | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: AV/ | |
if-no-files-found: error | |
compression-level: 0 |