Fixed Sulik's appearance after parting ways with him in his tribe #14
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: build | |
on: [push] | |
env: | |
sfall_version: 4.4.2 | |
mpack_version: 4.4.2 | |
jobs: | |
build: | |
if: ${{ github.actor != 'bgforge-hive' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
set -xeu -o pipefail | |
./extra/tests.sh | |
- name: Install packages | |
run: | | |
set -xeu -o pipefail | |
sudo dpkg --add-architecture i386 | |
sudo apt -qq update | |
sudo apt-get install -o=Dpkg::Use-Pty=0 -y libgcc-s1:i386 libstdc++6:i386 crudini dos2unix gcc p7zip wine-stable wine32 | |
wineboot | |
- name: Build and package | |
run: ./extra/full.sh | |
- name: Upload artifacts - exe | |
uses: actions/upload-artifact@v3 | |
if: "!startsWith(github.ref, 'refs/tags/')" | |
with: | |
name: rpu.exe | |
path: rpu*.exe | |
- name: Upload artifacts - translations zip | |
uses: actions/upload-artifact@v3 | |
if: "!startsWith(github.ref, 'refs/tags/')" | |
with: | |
name: rpu_translations.zip | |
path: rpu*_translations.zip | |
# so that main glob doesn't catch it | |
- name: Remove translations zip | |
if: "!startsWith(github.ref, 'refs/tags/')" | |
run: rm -f rpu*_translations.zip | |
- name: Upload artifacts - main zip | |
uses: actions/upload-artifact@v3 | |
if: "!startsWith(github.ref, 'refs/tags/')" | |
with: | |
name: rpu.zip | |
path: rpu*.zip | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
rpu*.zip | |
rpu*.exe | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |