From e6ed33436ddd28c6313edcae5105f298543d9aef Mon Sep 17 00:00:00 2001 From: Michael Moore Date: Fri, 15 Mar 2024 20:59:23 -0500 Subject: [PATCH] ci: update github actions --- .github/workflows/debug-build.yml | 8 ++++---- .github/workflows/main.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/debug-build.yml b/.github/workflows/debug-build.yml index f7bcae6..a6f4575 100644 --- a/.github/workflows/debug-build.yml +++ b/.github/workflows/debug-build.yml @@ -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: @@ -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 @@ -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') }}" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6b89d3b..45bb648 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: @@ -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