GH Actions testing
This commit is contained in:
parent
c681b2f6d0
commit
f2e784cfbf
|
@ -90,11 +90,13 @@ jobs:
|
|||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: 3.24.5
|
||||
- name: Get flutter version
|
||||
- name: Get flutter version with yq in one step
|
||||
id: version
|
||||
uses: mikefarah/yq@master
|
||||
with:
|
||||
cmd: yq -r '.version' 'pubspec.yaml'
|
||||
shell: pwsh
|
||||
run: |
|
||||
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
|
||||
run: flutter config --no-analytics
|
||||
- name: Running build
|
||||
|
@ -159,4 +161,4 @@ jobs:
|
|||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ollama
|
||||
path: ./
|
||||
path: ./
|
||||
|
|
Loading…
Reference in New Issue