mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
Update cache action
This commit is contained in:
parent
e4b42c4f30
commit
f05f4a8732
42
.github/workflows/legobin.yml
vendored
42
.github/workflows/legobin.yml
vendored
@ -2,31 +2,31 @@ name: Download legobin
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fetch:
|
fetch:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Restore cached original binaries
|
||||||
|
id: cache-original-binaries
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
enableCrossOsArchive: true
|
||||||
|
path: legobin
|
||||||
|
key: legobin
|
||||||
|
|
||||||
- name: Restore cached original binaries
|
- name: Download original Island binaries
|
||||||
id: cache-original-binaries
|
if: ${{ !steps.cache-original-binaries.outputs.cache-hit }}
|
||||||
uses: actions/cache/restore@v4
|
run: |
|
||||||
with:
|
wget https://legoisland.org/download/CONFIG.EXE --directory-prefix=legobin
|
||||||
enableCrossOsArchive: true
|
wget https://legoisland.org/download/ISLE.EXE --directory-prefix=legobin
|
||||||
path: legobin
|
wget https://legoisland.org/download/LEGO1.DLL --directory-prefix=legobin
|
||||||
key: legobin
|
|
||||||
|
|
||||||
- name: Download original island binaries
|
- name: Cache original binaries
|
||||||
if: ${{ !steps.cache-original-binaries.outputs.cache-hit }}
|
if: ${{ !steps.cache-original-binaries.outputs.cache-hit }}
|
||||||
run: |
|
uses: actions/cache/save@v4
|
||||||
wget https://legoisland.org/download/CONFIG.EXE --directory-prefix=legobin
|
with:
|
||||||
wget https://legoisland.org/download/ISLE.EXE --directory-prefix=legobin
|
enableCrossOsArchive: true
|
||||||
wget https://legoisland.org/download/LEGO1.DLL --directory-prefix=legobin
|
path: legobin
|
||||||
|
key: legobin
|
||||||
- name: Cache original binaries
|
|
||||||
if: ${{ !steps.cache-original-binaries.outputs.cache-hit }}
|
|
||||||
uses: actions/cache/save@v4
|
|
||||||
with:
|
|
||||||
enableCrossOsArchive: true
|
|
||||||
path: legobin
|
|
||||||
key: legobin
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user