Skip to content

Commit

Permalink
Alternative for @v4 compat
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Jan 29, 2024
1 parent 74f0690 commit c575d0b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ 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 @@ -50,7 +48,10 @@ jobs:
rm *.deb
;;
esac
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up dependencies
Expand All @@ -64,7 +65,7 @@ jobs:
apt-get install -yqq ${freetypepkgname} p7zip-full unzip wget xdg-user-dirs zip
- name: Set up cache
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/PawPawBuilds
Expand Down Expand Up @@ -92,7 +93,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@v3
- uses: actions/upload-artifact@v4
if: ${{ matrix.container == env.RELEASE_OS_LINUX }}
with:
name: mod-desktop-app-${{ env.VERSION_TAG }}-linux-x86_64
Expand All @@ -108,8 +109,6 @@ 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 @@ -140,7 +139,10 @@ jobs:
rm *.deb
;;
esac
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up dependencies
Expand All @@ -154,7 +156,7 @@ jobs:
apt-get install -yqq ${freetypepkgname} p7zip-full unzip wget xdg-user-dirs zip
- name: Set up cache
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/PawPawBuilds
Expand Down Expand Up @@ -182,7 +184,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@v3
- uses: actions/upload-artifact@v4
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 c575d0b

Please sign in to comment.