Skip to content

Commit

Permalink
github: compilation.yml - Cache omf2097.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj committed Jun 29, 2024
1 parent ef76b6f commit ad49dc4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,24 @@ jobs:
id: slug
run: echo "sha8=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_OUTPUT

- name: Restore omf2097.zip
id: cache-assets
uses: actions/cache/restore@v4
with:
path: omf2097.zip
key: omf2097.zip

- name: Download omf 2097 assets
if: steps.cache-assets.outputs.cache-hit != 'true'
run: wget -q "${{ env.OPENOMF_ASSETS_URL }}"

- name: Cache omf2097.zip
id: cache-assets
uses: actions/cache/save@v4
with:
path: omf2097.zip
key: omf2097.zip

- name: Extract omf 2097 assets
run: unzip -j omf2097.zip -d build-release/release/usr/share/games/openomf

Expand Down

0 comments on commit ad49dc4

Please sign in to comment.