mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01:00
fix: hardcode app path
This commit is contained in:
1 parent
adc1791f56
commit
029a781c50
1 file changed
+1
-8
@@ -21,12 +21,6 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
description: Archive URL to download instead of Steam client
|
description: Archive URL to download instead of Steam client
|
||||||
|
|
||||||
archive_root:
|
|
||||||
type: string
|
|
||||||
required: false
|
|
||||||
description: Root dir of archive which houses the executable and Data dir
|
|
||||||
default: app
|
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 2 * * *"
|
- cron: "0 2 * * *"
|
||||||
|
|
||||||
@@ -114,13 +108,12 @@ jobs:
|
|||||||
if: github.event.inputs.archive_url != '' && endsWith(github.event.inputs.archive_url, '.zip')
|
if: github.event.inputs.archive_url != '' && endsWith(github.event.inputs.archive_url, '.zip')
|
||||||
env:
|
env:
|
||||||
ARCHIVE_URL: ${{ github.event.inputs.archive_url }}
|
ARCHIVE_URL: ${{ github.event.inputs.archive_url }}
|
||||||
ARCHIVE_ROOT: ${{ github.event.inputs.archive_root }}
|
|
||||||
run: |
|
run: |
|
||||||
wget -q -O temp/archive.zip $ARCHIVE_URL
|
wget -q -O temp/archive.zip $ARCHIVE_URL
|
||||||
unzip -q temp/archive.zip -d temp/archive
|
unzip -q temp/archive.zip -d temp/archive
|
||||||
rm temp/archive.zip
|
rm temp/archive.zip
|
||||||
mkdir -p temp/game
|
mkdir -p temp/game
|
||||||
mv temp/archive/$ARCHIVE_ROOT/* temp/game
|
mv temp/archive/app/* temp/game
|
||||||
|
|
||||||
- name: Archive game
|
- name: Archive game
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in new issue
Block a user