Skip to content

Commit

Permalink
CI: Don't ship ENGLISH.DAT and GERMAN.DAT
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopey committed Jan 4, 2025
1 parent f3d1d90 commit 5a8c1b2
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ jobs:
key: omf2097-assets.zip

- name: Extract omf 2097 assets
run: unzip -j omf2097-assets.zip -d build-test/resources
shell: bash
run: |
unzip -j omf2097-assets.zip -d build-test/resources
rm -f build-test/resources/{ENGLISH.DAT,GERMAN.DAT}
- name: Install pytest requirements
run: |
Expand Down Expand Up @@ -147,10 +150,10 @@ jobs:
key: omf2097-assets.zip

- name: Extract omf 2097 assets
shell: bash
run: |
Expand-Archive omf2097-assets.zip -PassThru
mkdir install/openomf/resources
Move-Item -Path omf2097-assets/OMF2097/* -Destination install/openomf/resources/ -Force -PassThru
unzip -j omf2097-assets.zip -d install/openomf/resources
rm -f install/openomf/resources/{ENGLISH.DAT,GERMAN.DAT}
- name: Install openomf
run: cmake --install build-msvc --config Release --prefix install
Expand Down Expand Up @@ -220,7 +223,9 @@ jobs:
key: omf2097-assets.zip

- name: Extract omf 2097 assets
run: unzip -j omf2097-assets.zip -d build-release/release/usr/share/games/openomf
run: |
unzip -j omf2097-assets.zip -d build-release/release/usr/share/games/openomf
rm -f build-release/release/usr/share/games/openomf/{ENGLISH.DAT,GERMAN.DAT}
- name: Generate TGZ package
run: tar cvfz ${GITHUB_WORKSPACE}/openomf_${{ env.OPENOMF_VERSION }}-${{ steps.slug.outputs.sha8 }}_linux_amd64.tar.gz -C build-release/release/ .
Expand Down Expand Up @@ -295,7 +300,10 @@ jobs:
key: omf2097-assets.zip

- name: Extract omf 2097 assets
run: unzip -j omf2097-assets.zip -d build-release/release/usr/share/games/openomf
shell: bash
run: |
unzip -j omf2097-assets.zip -d build-release/release/usr/share/games/openomf
rm -f build-release/release/usr/share/games/openomf/{ENGLISH.DAT,GERMAN.DAT}
- name: Get short SHA
id: slug
Expand Down

0 comments on commit 5a8c1b2

Please sign in to comment.