Fix for Creature Creation via cheat menu #1633
Workflow file for this run
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: Test Prototypes | |
on: | |
pull_request: | |
types: [ready_for_review, review_requested] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: Trass3r/setup-cpp@master | |
- name: Update system | |
run: | | |
set -eux | |
sudo apt update | |
sudo apt install -y build-essential g++-mingw-w64-i686 libpng16-16t64 | |
- name: build | |
run: | | |
set -eux | |
BUILD_NUMBER=$(git rev-list --count origin/master) | |
GITHUB_SHA=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.head.sha) | |
PACKAGE_SUFFIX=Prototype_$(git rev-parse --short=7 "$GITHUB_SHA") | |
make BUILD_NUMBER=$BUILD_NUMBER PACKAGE_SUFFIX=$PACKAGE_SUFFIX heavylog DEBUG=1 -k | |
make BUILD_NUMBER=$BUILD_NUMBER PACKAGE_SUFFIX=$PACKAGE_SUFFIX standard | |
make BUILD_NUMBER=$BUILD_NUMBER PACKAGE_SUFFIX=$PACKAGE_SUFFIX package | |
echo "ZIP_NAME=$(basename -s .7z pkg/keeperfx*.7z)" >> $GITHUB_ENV | |
rm pkg/keeperfx*.7z | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.ZIP_NAME }} | |
path: pkg/** |