mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
63 lines
1.1 KiB
YAML
63 lines
1.1 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'develop'
|
|
- 'github-action'
|
|
paths:
|
|
- '.github/workflows/build.yml'
|
|
- 'action.yml'
|
|
- 'sfall/**'
|
|
pull_request:
|
|
branches:
|
|
- 'master'
|
|
- 'develop'
|
|
paths:
|
|
- '.github/workflows/build.yml'
|
|
- 'action.yml'
|
|
- 'sfall/**'
|
|
|
|
jobs:
|
|
Build:
|
|
name: sfall
|
|
runs-on: windows-2022
|
|
steps:
|
|
|
|
- name: Clone sfall
|
|
uses: actions/checkout@v6
|
|
|
|
# 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
|
|
dev-xp: false
|
|
|
|
- name: DevXP build
|
|
uses: ./
|
|
with:
|
|
release-xp: false
|
|
dev-xp: true
|
|
|
|
- name: Prepare artifacts
|
|
run: |
|
|
:
|
|
mkdir -p sfall-build
|
|
|
|
cp artifacts/ddraw.ini sfall-build
|
|
cp artifacts/sfall_dat/sfall.dat sfall-build
|
|
cp "${{ steps.build.outputs.release-xp }}" sfall-build
|
|
shell: bash
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: sfall-build
|
|
path: sfall-build
|
|
retention-days: 30
|