updated github action

This commit is contained in:
Ren Amamiya 2023-04-01 08:20:13 +07:00
parent 7cb4069a80
commit 3d3c60dcb5
2 changed files with 6 additions and 4 deletions

View File

@ -21,7 +21,7 @@ jobs:
args: '--target x86_64-apple-darwin' args: '--target x86_64-apple-darwin'
- platform: 'macos-latest' - platform: 'macos-latest'
args: '--target aarch64-apple-darwin' args: '--target aarch64-apple-darwin'
- platform: 'ubuntu-20.04' - platform: 'ubuntu-18.04'
args: '' args: ''
- platform: 'windows-latest' - platform: 'windows-latest'
args: '--target x86_64-pc-windows-msvc' args: '--target x86_64-pc-windows-msvc'
@ -38,7 +38,7 @@ jobs:
with: with:
targets: aarch64-apple-darwin targets: aarch64-apple-darwin
- name: install dependencies (ubuntu only) - name: install dependencies (ubuntu only)
if: matrix.settings.platform == 'ubuntu-20.04' if: matrix.settings.platform == 'ubuntu-18.04'
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
@ -57,7 +57,7 @@ jobs:
with: with:
cache-on-failure: true cache-on-failure: true
- run: pnpm install - run: pnpm install
- uses: tauri-apps/tauri-action@v0 - uses: tauri-apps/tauri-action@dev
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -66,5 +66,4 @@ jobs:
releaseBody: 'See the assets to download this version and install.' releaseBody: 'See the assets to download this version and install.'
releaseDraft: true releaseDraft: true
prerelease: false prerelease: false
#includeDebug: true
args: ${{ matrix.settings.args }} args: ${{ matrix.settings.args }}

View File

@ -45,6 +45,9 @@
"active": true, "active": true,
"category": "SocialNetworking", "category": "SocialNetworking",
"copyright": "", "copyright": "",
"appimage": {
"bundleMediaFramework": true
},
"deb": { "deb": {
"depends": [] "depends": []
}, },