GH Actions testing
This commit is contained in:
parent
c681b2f6d0
commit
f2e784cfbf
|
@ -90,11 +90,13 @@ jobs:
|
||||||
- uses: subosito/flutter-action@v2
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: 3.24.5
|
flutter-version: 3.24.5
|
||||||
- name: Get flutter version
|
- name: Get flutter version with yq in one step
|
||||||
id: version
|
id: version
|
||||||
uses: mikefarah/yq@master
|
shell: pwsh
|
||||||
with:
|
run: |
|
||||||
cmd: yq -r '.version' 'pubspec.yaml'
|
Invoke-WebRequest -Uri "https://github.com/mikefarah/yq/releases/latest/download/yq_windows_amd64.exe" -OutFile "yq.exe"
|
||||||
|
$flutterVersion = .\yq.exe -r '.version' pubspec.yaml
|
||||||
|
Write-Output "::set-output name=flutter_version::$flutterVersion"
|
||||||
- name: Disabling flutter analytics
|
- name: Disabling flutter analytics
|
||||||
run: flutter config --no-analytics
|
run: flutter config --no-analytics
|
||||||
- name: Running build
|
- name: Running build
|
||||||
|
@ -159,4 +161,4 @@ jobs:
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ollama
|
name: ollama
|
||||||
path: ./
|
path: ./
|
||||||
|
|
Loading…
Reference in New Issue