tutorial: tut1 add event after filling granary with 400 meat #1410
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: Akhenaten Build Content | |
on: | |
push: | |
branches: [ "master" ] | |
jobs: | |
build: | |
name: run content | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: update-workspace | |
run: | | |
sudo apt -qq update | |
sudo apt install --yes cmake build-essential libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev unzip | |
- name: build-project | |
run: | | |
git clone https://github.com/jeremy-rifkin/cpptrace.git etc/cpptrace | |
mkdir build | |
mkdir artifacts | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. | |
cd .. | |
cmake --build ./build | |
cp ./build/akhenaten ./artifacts/akhenaten.linux | |
zip -r linux_build.zip ./artifacts | |
wget https://nightly.link/dalerank/Akhenaten/workflows/akhenaten_windows/master/windows_build.zip | |
wget https://nightly.link/dalerank/Akhenaten/workflows/akhenaten_mac/master/macos_build.zip | |
unzip windows_build.zip -d artifacts | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: linux_windows_build | |
path: artifacts | |
- uses: KikimoraGames/[email protected] | |
with: | |
butlerApiKey: ${{ secrets.ITCHIO }} | |
gameData: windows_build.zip | |
itchUsername: dalerank | |
itchGameId: akhenaten | |
buildChannel: windows | |
- uses: KikimoraGames/[email protected] | |
with: | |
butlerApiKey: ${{ secrets.ITCHIO }} | |
gameData: linux_build.zip | |
itchUsername: dalerank | |
itchGameId: akhenaten | |
buildChannel: linux | |
- uses: KikimoraGames/[email protected] | |
with: | |
butlerApiKey: ${{ secrets.ITCHIO }} | |
gameData: macos_build.zip | |
itchUsername: dalerank | |
itchGameId: akhenaten | |
buildChannel: mac |