Skip to content

Commit

Permalink
Fix updated GH actions (use @V3 for linux builds)
Browse files Browse the repository at this point in the history
See actions/checkout#1590

Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jan 29, 2024
1 parent 5c7f1d4 commit 74f0690
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ env:
RELEASE_OS_WIN64: ubuntu:22.04

jobs:
# NOTE cannot use actions @v4, incompatible with ubuntu:18.04
# see https://github.com/actions/checkout/issues/1590
linux-x86_64:
strategy:
matrix:
Expand Down Expand Up @@ -48,7 +50,7 @@ jobs:
rm *.deb
;;
esac
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up dependencies
Expand All @@ -62,7 +64,7 @@ jobs:
apt-get install -yqq ${freetypepkgname} p7zip-full unzip wget xdg-user-dirs zip
- name: Set up cache
id: cache
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: |
~/PawPawBuilds
Expand Down Expand Up @@ -90,7 +92,7 @@ jobs:
mv build mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64/mod-desktop-app
cp utils/linux/mod-desktop-app.* mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64/
tar chJf mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64.tar.xz mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
if: ${{ matrix.container == env.RELEASE_OS_LINUX }}
with:
name: mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64
Expand All @@ -106,6 +108,8 @@ jobs:
files: |
*.tar.xz
# NOTE cannot use actions @v4, incompatible with ubuntu:18.04
# see https://github.com/actions/checkout/issues/1590
linux-x86_64-debug:
strategy:
matrix:
Expand Down Expand Up @@ -136,7 +140,7 @@ jobs:
rm *.deb
;;
esac
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up dependencies
Expand All @@ -150,7 +154,7 @@ jobs:
apt-get install -yqq ${freetypepkgname} p7zip-full unzip wget xdg-user-dirs zip
- name: Set up cache
id: cache
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: |
~/PawPawBuilds
Expand Down Expand Up @@ -178,7 +182,7 @@ jobs:
mv build mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64-debug/mod-desktop-app
cp utils/linux/mod-desktop-app.* mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64-debug/
tar chJf mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64-debug.tar.xz mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64-debug
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
if: ${{ matrix.container == env.RELEASE_OS_LINUX }}
with:
name: mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64-debug
Expand Down

0 comments on commit 74f0690

Please sign in to comment.