From 3d3c60dcb5936c87b1c536a7f822feb8208ff584 Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Sat, 1 Apr 2023 08:20:13 +0700 Subject: [PATCH] updated github action --- .github/workflows/main.yml | 7 +++---- src-tauri/tauri.conf.json | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6144842a..21299500 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: args: '--target x86_64-apple-darwin' - platform: 'macos-latest' args: '--target aarch64-apple-darwin' - - platform: 'ubuntu-20.04' + - platform: 'ubuntu-18.04' args: '' - platform: 'windows-latest' args: '--target x86_64-pc-windows-msvc' @@ -38,7 +38,7 @@ jobs: with: targets: aarch64-apple-darwin - name: install dependencies (ubuntu only) - if: matrix.settings.platform == 'ubuntu-20.04' + if: matrix.settings.platform == 'ubuntu-18.04' run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf @@ -57,7 +57,7 @@ jobs: with: cache-on-failure: true - run: pnpm install - - uses: tauri-apps/tauri-action@v0 + - uses: tauri-apps/tauri-action@dev env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -66,5 +66,4 @@ jobs: releaseBody: 'See the assets to download this version and install.' releaseDraft: true prerelease: false - #includeDebug: true args: ${{ matrix.settings.args }} diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 843d8b84..e3108521 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -45,6 +45,9 @@ "active": true, "category": "SocialNetworking", "copyright": "", + "appimage": { + "bundleMediaFramework": true + }, "deb": { "depends": [] },