Reordered the ending slides to keep tank vagrants as the last one #269
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: | |
pull_request: | |
env: | |
sfall_version: 4.4.5 | |
mpack_version: 4.4.5 | |
jobs: | |
build: | |
if: github.actor != 'bgforge-hive' && github.actor != 'github-actions[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
- name: Fallout tests | |
uses: BGforgeNet/fallout-tests@main | |
with: | |
scripts_h: scripts_src/headers/scripts.h | |
scripts_lst: data/scripts/scripts.lst | |
scripts_dir: scripts_src | |
dialog_dir: data/text/english/dialog | |
worldmap_path: false | |
- name: Install wine | |
uses: devopsx/gha-ubuntu-i386-fix@master | |
- name: Install packages | |
run: | | |
sudo DEBIAN_FRONTEND=noninteractive eatmydata apt-get install -o=Dpkg::Use-Pty=0 -y crudini dos2unix gcc p7zip | |
WINEARCH=win32 eatmydata wineboot | |
- name: Build and package | |
run: ./extra/full.sh | |
- name: Upload artifacts - exe | |
uses: actions/upload-artifact@v4 | |
if: "!startsWith(github.ref, 'refs/tags/')" | |
with: | |
name: rpu.exe | |
path: rpu*.exe | |
- name: Upload artifacts - translations zip | |
uses: actions/upload-artifact@v4 | |
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@v4 | |
if: "!startsWith(github.ref, 'refs/tags/')" | |
with: | |
name: rpu.zip | |
path: rpu*.zip | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
rpu*.zip | |
rpu*.exe | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |