Browse Source

fix: action ubuntu version

Yidadaa 1 year ago
parent
commit
5ce53dbcf4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/app.yml

+ 3 - 3
.github/workflows/app.yml

@@ -9,7 +9,7 @@ jobs:
   create-release:
     permissions:
       contents: write
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     outputs:
       release_id: ${{ steps.create-release.outputs.result }}
 
@@ -68,7 +68,7 @@ jobs:
         with:
           key: ${{ matrix.config.rust_target }}
       - name: install dependencies (ubuntu only)
-        if: matrix.config.os == 'ubuntu-20.04'
+        if: matrix.config.os == 'ubuntu-latest'
         run: |
           sudo apt-get update
           sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
@@ -85,7 +85,7 @@ jobs:
   publish-release:
     permissions:
       contents: write
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     needs: [create-release, build-tauri]
 
     steps: