Fix ci
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -19,7 +19,7 @@ concurrency:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
CHANNEL: ${{ github.ref_type == 'tag' && endsWith(github.ref_name, 'dev') && 'dev' || github.ref_type != 'tag' && 'dev' || 'prod' }}
|
CHANNEL: ${{ github.ref_type == 'tag' && endsWith(github.ref_name, 'dev') && 'dev' || github.ref_type != 'tag' && 'dev' || 'prod' }}
|
||||||
NDK_VERSION: '26.1.10909125'
|
NDK_VERSION: r26b
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -80,12 +80,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup NDK
|
- name: Setup NDK
|
||||||
if: startsWith(matrix.platform,'android')
|
if: startsWith(matrix.platform,'android')
|
||||||
uses: nttld/setup-ndk@v1
|
uses: nttld/setup-ndk@v1.4.1
|
||||||
id: setup-ndk
|
id: setup-ndk
|
||||||
with:
|
with:
|
||||||
ndk-version: ${{ env.NDK_VERSION }}
|
ndk-version: ${{ env.NDK_VERSION }}
|
||||||
add-to-path: true
|
add-to-path: true
|
||||||
link-to-sdk: true
|
link-to-sdk: true
|
||||||
|
local-cache: true
|
||||||
|
|
||||||
- name: Setup Flutter Distributor
|
- name: Setup Flutter Distributor
|
||||||
if: ${{ !startsWith(matrix.platform,'android') }}
|
if: ${{ !startsWith(matrix.platform,'android') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user