Fix CI? #518
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
| name: Toshi | |
| on: [push] | |
| jobs: | |
| win: | |
| env: | |
| PREMAKE_VERSION: 5.0.0-beta4 | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| with: | |
| submodules: recursive | |
| - name: Setup premake | |
| uses: abel0b/[email protected] | |
| with: | |
| version: ${{ env.PREMAKE_VERSION }} | |
| - name: Premake | |
| run: premake5 vs2026 --arch=x86 --renderer=DX8 | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Build the whole solution for debug | |
| run: msbuild './OpenBarnyard.slnx' -property:Configuration=Debug | |
| - name: Publish Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Toshi Binaries | |
| path: bin | |
| - name: Update Auto Release | |
| uses: andelf/nightly-release@main | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tag_name: nightly | |
| name: 'OpenBarnyard Automatic Release $$' | |
| prerelease: true | |
| body: 'Automatic releases are being uploaded after any new commit.' | |
| files: | | |
| ./bin/Debug_Windows_x86_DX8/OpenBarnyard/OpenBarnyard.exe |