Update workflow script for tag changes

This commit is contained in:
Benau 2021-04-29 12:24:22 +08:00
parent 836de13a91
commit 4d5dc9f77e
2 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ jobs:
run: | run: |
# Something funky happens with freetype if mono is left # Something funky happens with freetype if mono is left
sudo mv /Library/Frameworks/Mono.framework /Library/Frameworks/Mono.framework-disabled sudo mv /Library/Frameworks/Mono.framework /Library/Frameworks/Mono.framework-disabled
wget https://github.com/supertuxkart/dependencies/releases/download/latest/dependencies-mac.tar.xz wget https://github.com/supertuxkart/dependencies/releases/download/preview/dependencies-mac.tar.xz
# Remove any existing installation to avoid conflict with bundled dependencies # Remove any existing installation to avoid conflict with bundled dependencies
rm -rf /usr/local/include/* rm -rf /usr/local/include/*
rm -rf /usr/local/opt/openssl@1.1/include rm -rf /usr/local/opt/openssl@1.1/include

View File

@ -52,7 +52,7 @@ jobs:
key: ${{ github.ref }}-${{ matrix.arch }}-${{ matrix.os }}-windows-build key: ${{ github.ref }}-${{ matrix.arch }}-${{ matrix.os }}-windows-build
- name: Download dependencies - name: Download dependencies
run: | run: |
${{ env.wget }} https://github.com/supertuxkart/dependencies/releases/download/latest/dependencies-win-${{ matrix.arch }}.zip ${{ env.wget }} https://github.com/supertuxkart/dependencies/releases/download/preview/dependencies-win-${{ matrix.arch }}.zip
${{ env.unzip }} dependencies-win-${{ matrix.arch }}.zip ${{ env.unzip }} dependencies-win-${{ matrix.arch }}.zip
- name: Install MinGW for i686 or x86_64 - name: Install MinGW for i686 or x86_64
if: ${{ matrix.os == 'ubuntu-latest' && ( matrix.arch == 'i686' || matrix.arch == 'x86_64' ) }} if: ${{ matrix.os == 'ubuntu-latest' && ( matrix.arch == 'i686' || matrix.arch == 'x86_64' ) }}
@ -61,7 +61,7 @@ jobs:
sudo mkdir -p /data/mxe/usr sudo mkdir -p /data/mxe/usr
cd /data/mxe/usr cd /data/mxe/usr
# It's compiled from https://github.com/mxe/mxe # It's compiled from https://github.com/mxe/mxe
sudo wget https://github.com/supertuxkart/dependencies/releases/download/latest/mxe_static_mingw.zip sudo wget https://github.com/supertuxkart/dependencies/releases/download/preview/mxe_static_mingw.zip
sudo unzip mxe_static_mingw.zip sudo unzip mxe_static_mingw.zip
sudo rm mxe_static_mingw.zip sudo rm mxe_static_mingw.zip
- name: Install MinGW for aarch64 - name: Install MinGW for aarch64