Skip to content

Commit

Permalink
Bump CI versions, build engine FGD dump
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Feb 23, 2024
1 parent 6aa423e commit 9f3a872
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-fgds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
Expand All @@ -31,9 +31,13 @@ jobs:
run: python -m pip install -r requirements.txt
- name: FGD build and folder copy
run: bash ./build.sh all
- name: FGD engine dump
run: python src/hammeraddons/unify_fgd.py exp --engine --binary -o build/fgd.lzma
- name: Artifact upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build-${{ github.sha }}
path: ./build/*.fgd
path: |
./build/*.fgd
./build/fgd.lzma
if-no-files-found: error
4 changes: 2 additions & 2 deletions .github/workflows/build-postcompiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:
run: python -m PyInstaller --distpath ../build/ -y ../postcompiler.spec
working-directory: ./src/
- name: Artifact upload (tag)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.event_name == 'create'
with:
name: hammeraddons_${{ github.event.ref }}_${{ matrix.artifact-name }}
path: ./build/
if-no-files-found: error
- name: Artifact upload (hash)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.event_name != 'create'
with:
name: hammeraddons_${{ github.sha }}_${{ matrix.artifact-name }}
Expand Down

0 comments on commit 9f3a872

Please sign in to comment.