diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 619f578f4..54036953a 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -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