Skip to content

Commit

Permalink
fix github actions (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
Die4Ever committed Mar 6, 2024
1 parent aed42bd commit 4d560b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ runs:
using: composite
steps:
# we don't really care what python version we have, but maybe in the future
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'pip' # caching pip dependencies
Expand All @@ -19,7 +19,7 @@ runs:
- name: Build
run: python3 installer/build.py
shell: bash
- run: du -ha dist
- run: du -ha installer/dist
shell: bash

- run: cat installer/build/installer/warn-installer.txt
Expand Down
4 changes: 1 addition & 3 deletions installer/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,12 @@
"DXCU%20Installer%20Source/Mods/Community%20Update/System/d3d10drv/unrealpool.fxh": "d3d10drv/unrealpool.fxh",
}

basedest = ''
base = Path()

if Path('installer/add_lib_path.py').exists():
base = Path('installer')
basedest = 'installer/3rdParty/'
elif Path('add_lib_path.py').exists():
basedest = '3rdParty/'
pass
else:
raise RuntimeError("Can't find root folder for installer")

Expand Down

0 comments on commit 4d560b8

Please sign in to comment.