chore: fix ci

This commit is contained in:
GyDi 2023-03-16 13:18:05 +08:00
parent 6934de58e5
commit 8caf36349f
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A

View File

@ -40,6 +40,23 @@ jobs:
with: with:
node-version: 16 node-version: 16
- name: Delete current release assets
if: matrix.os == 'ubuntu-latest'
uses: mknejp/delete-release-assets@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: alpha
fail-if-no-assets: false
fail-if-no-release: false
assets: |
*.zip
*.gz
*.AppImage
*.deb
*.dmg
*.msi
*.sig
- name: Install Dependencies (ubuntu only) - name: Install Dependencies (ubuntu only)
if: startsWith(matrix.os, 'ubuntu-') if: startsWith(matrix.os, 'ubuntu-')
run: | run: |
@ -64,23 +81,6 @@ jobs:
yarn install --network-timeout 1000000 yarn install --network-timeout 1000000
yarn run check yarn run check
- name: Delete current release assets
if: matrix.os == 'ubuntu-latest'
uses: mknejp/delete-release-assets@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: alpha
fail-if-no-assets: false
fail-if-no-release: false
assets: |
*.zip
*.gz
*.AppImage
*.deb
*.dmg
*.msi
*.sig
- name: Tauri build - name: Tauri build
uses: tauri-apps/tauri-action@v0 uses: tauri-apps/tauri-action@v0
env: env: