From 2c196239b6865f492263327130b9975f9b1f022f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martti=20Rannanj=C3=A4rvi?= Date: Sat, 29 Jun 2024 23:41:09 +0300 Subject: [PATCH] github: compilation.yml - Bundle omf assets in macos 14 build --- .github/workflows/compilation.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index baeb048f0..d3eddd388 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -148,10 +148,16 @@ jobs: - name: Generate Release run: | mkdir build-release && cd build-release - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=release .. + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=release/usr .. make -j $(getconf _NPROCESSORS_ONLN) make -j $(getconf _NPROCESSORS_ONLN) install + - name: Download omf 2097 assets + run: wget -q "${{ env.OPENOMF_ASSETS_URL }}" + + - name: Extract omf 2097 assets + run: unzip -j omf2097.zip -d build-release/release/usr/share/games/openomf + - name: Get short SHA id: slug run: echo "sha8=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_OUTPUT