Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Mar 20, 2024
1 parent 194c697 commit fff429a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/poify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fff429a

Please sign in to comment.