FIX: make sure, the pak path and working path are really different #270
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: Nightly build MacOS Intel | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: macos-13 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install_dependencies | |
| run: | | |
| brew install cmake pkg-config libpng freetype zstd sdl2 fluidsynth | |
| - name: build | |
| run: | | |
| cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSIMUTRANS_UPDATE_LANGFILES=ON | |
| cmake --build build --target install | |
| - name: distribute | |
| run: | | |
| cd build | |
| zip -r simumac-nightly.zip simutrans | |
| - name: Update binaries of Nightly Release | |
| uses: svenstaro/upload-release-action@v2 | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| file: build/simumac-nightly.zip | |
| asset_name: simumac-intel-nightly.zip | |
| tag: Nightly | |
| overwrite: true |