Skip to content

Commit

Permalink
ci: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMakesGames committed Mar 16, 2024
1 parent 9dd852d commit e6ed334
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/debug-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04, windows-latest]
platform: [ubuntu-20.04, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -23,10 +23,10 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: install frontend dependencies
run: npm install # change this to npm or pnpm depending on which one you use
Expand All @@ -42,4 +42,4 @@ jobs:

- uses: actions/upload-artifact@v4
with:
path: "${{ join(fromJSON(steps.build.outputs.artifacts), '\n') }}"
path: "${{ join(fromJSON(steps.build.outputs.artifactPaths), '\n') }}"
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04, windows-latest]
platform: [ubuntu-20.04, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -26,10 +26,10 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: install frontend dependencies
run: npm install
Expand Down

0 comments on commit e6ed334

Please sign in to comment.