|
|
@@ -213,14 +213,10 @@ jobs:
|
|
|
env:
|
|
|
HEROES_3_DATA_PASSWORD: ${{ secrets.HEROES_3_DATA_PASSWORD }}
|
|
|
run: |
|
|
|
- git clone https://github.com/Alexander-Wilms/encrypted_heroes_3_data
|
|
|
- if [ ! -f encrypted_heroes_3_data/HoMM3_data_encrypted/Data/H3sprite.lod.enc ]; then echo "Failed to clone Heroes 3 data" && exit 1; fi
|
|
|
- cd encrypted_heroes_3_data && ./crypt.py -p $HEROES_3_DATA_PASSWORD -d
|
|
|
- tree
|
|
|
- # fail CI stage if something went wrong
|
|
|
- if [ ! -f HoMM3_data_decrypted/Data/H3bitmap.lod ]; then echo "Failed to decrypt Heroes 3 data" && exit 1; fi
|
|
|
+ wget --progress=dot:giga https://github.com/Alexander-Wilms/encrypted_heroes_3_data/releases/download/h3_assets/h3_assets.zip
|
|
|
+ 7za x h3_assets.zip -p$HEROES_3_DATA_PASSWORD
|
|
|
mkdir -p ~/.local/share/vcmi/
|
|
|
- mv HoMM3_data_decrypted/* ~/.local/share/vcmi/
|
|
|
+ mv h3_assets/* ~/.local/share/vcmi/
|
|
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
if: "${{ matrix.conan_profile != '' }}"
|