This commit is contained in:
hiddify-com
2024-05-31 21:28:45 +02:00
parent dc22e75eb9
commit ee8db85983
2 changed files with 23 additions and 22 deletions

View File

@@ -16,7 +16,7 @@ env:
IS_GITHUB_ACTIONS: 1
CHANNEL: "${{ inputs.channel }}"
FLUTTER_VERSION: '3.22.1'
NDK_VERSION: r26b
NDK_VERSION: r26d
UPLOAD_ARTIFACT: "${{ inputs.upload-artifact }}"
TAG_NAME: "${{ inputs.tag-name }}"
TARGET_NAME_AppImage: "Hiddify-Linux-x64"
@@ -36,11 +36,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.12.0 #issue with 2.13
- uses: subosito/flutter-action@v2.16.0 #issue with 2.13
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: 'stable'
cache: true
- name: Prepare
run: make linux-prepare
- name: Test
@@ -66,26 +67,26 @@ jobs:
os: ubuntu-latest
targets: aab
- platform: windows
os: windows-2019
aarch: amd64
targets: exe,msix
# - platform: windows
# os: windows-2019
# aarch: amd64
# targets: exe,msix
- platform: linux
os: ubuntu-22.04
aarch: amd64
targets: AppImage,deb,rpm
# - platform: linux
# os: ubuntu-22.04
# aarch: amd64
# targets: AppImage,deb,rpm
- platform: macos
os: macos-13
aarch: universal
targets: dmg,pkg
# - platform: macos
# os: macos-13
# aarch: universal
# targets: dmg,pkg
- platform: ios
os: macos-13
aarch: universal
filename: hiddify-ios
targets: ipa
# - platform: ios
# os: macos-13
# aarch: universal
# filename: hiddify-ios
# targets: ipa
runs-on: ${{ matrix.os }}
steps:
- name: checkout
@@ -116,13 +117,13 @@ jobs:
cache: true
- name: Setup Java
if: startsWith(matrix.platform,'android')
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Setup NDK
if: startsWith(matrix.platform,'android')
uses: nttld/setup-ndk@v1.4.1
uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: ${{ env.NDK_VERSION }}