Update ci.yml

This commit is contained in:
Hiddify
2023-07-22 00:21:29 +02:00
committed by GitHub
parent a81f9277c5
commit 826f956be3

View File

@@ -19,12 +19,21 @@ jobs:
- platform: windows - platform: windows
os: windows-latest os: windows-latest
aarch: amd64
targets: exe targets: exe
# - platform: windows
# os: windows-latest
# aarch: 386
# targets: exe
# - platform: linux # - platform: linux
# os: ubuntu-latest # os: ubuntu-latest
# targets: appimage # aarch: 386
# targets: appimage
- platform: linux
os: ubuntu-latest
aarch: amd64
targets: appimage
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: checkout - name: checkout
@@ -53,8 +62,8 @@ jobs:
java-version: 11 java-version: 11
- name: Setup Flutter Distributor - name: Setup Flutter Distributor
if: matrix.platform == 'windows' if: matrix.platform == 'windows' || matrix.platform == 'linux'
shell: powershell # shell: powershell
run: | run: |
dart pub global activate flutter_distributor dart pub global activate flutter_distributor
where flutter_distributor where flutter_distributor
@@ -102,4 +111,4 @@ jobs:
name: "draft" name: "draft"
tag_name: "draft" tag_name: "draft"
prerelease: true prerelease: true
overwrite: true overwrite: true