Fixed create_object_sid when passing 0 as the script index number #283
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: | |
branches: | |
- 'master' | |
- 'develop' | |
- 'github-action' | |
paths: | |
- '.github/workflows/build.yml' | |
- 'action.yml' | |
- 'sfall/**' | |
jobs: | |
Build: | |
name: sfall | |
runs-on: windows-2019 | |
steps: | |
- name: Clone sfall | |
uses: actions/checkout@v4 | |
# Action is used twice for self-testing only | |
# DevXP build results are intentionally *not* included in artifact | |
- name: ReleaseXP build | |
id: build | |
uses: ./ | |
with: | |
release-xp: true | |
- name: DevXP build | |
uses: ./ | |
with: | |
dev-xp: true | |
- name: Prepare artifact | |
run: | | |
: | |
mkdir -p sfall-build | |
cp artifacts/ddraw.ini sfall-build | |
cp artifacts/sfall.dat sfall-build | |
cp "${{ steps.build.outputs.release-xp }}" sfall-build | |
shell: bash | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sfall-build | |
path: sfall-build | |
retention-days: 14 |