From fff429a5530cc45188002414f5d0ae2d66f7d18c Mon Sep 17 00:00:00 2001 From: Magus Date: Wed, 20 Mar 2024 23:05:26 +0700 Subject: [PATCH] update actions --- .github/workflows/build.yml | 17 +++++++---------- .github/workflows/poify.yml | 2 +- .github/workflows/pr.yml | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ddae55edb..62ddb227b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,33 +11,30 @@ jobs: if: ${{ github.actor != 'bgforge-hive' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run tests run: | set -xeu -o pipefail ./extra/tests.sh + - uses: devopsx/gha-ubuntu-i386-fix@master + - name: Install packages - run: | - set -xeu -o pipefail - sudo dpkg --add-architecture i386 - sudo apt -qq update - sudo apt-get install -o=Dpkg::Use-Pty=0 -y crudini dos2unix gcc p7zip wine-stable wine32 - wineboot + run: sudo apt-get install -o=Dpkg::Use-Pty=0 -y crudini dos2unix gcc p7zip - name: Build and package run: ./extra/full.sh - name: Upload artifacts - exe - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: "!startsWith(github.ref, 'refs/tags/')" with: name: rpu.exe path: rpu*.exe - name: Upload artifacts - translations zip - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: "!startsWith(github.ref, 'refs/tags/')" with: name: rpu_translations.zip @@ -49,7 +46,7 @@ jobs: run: rm -f rpu*_translations.zip - name: Upload artifacts - main zip - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: "!startsWith(github.ref, 'refs/tags/')" with: name: rpu.zip diff --git a/.github/workflows/poify.yml b/.github/workflows/poify.yml index bd7f8117e9..0e0181bc61 100644 --- a/.github/workflows/poify.yml +++ b/.github/workflows/poify.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Poify/Unpoify uses: BGforgeNet/msg2po@master diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 67d31d43a5..007b9909ae 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -7,7 +7,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run tests run: ./extra/tests.sh