GH Actions testing

This commit is contained in:
JHubi1 2025-03-14 20:30:52 +01:00 committed by GitHub
parent c681b2f6d0
commit f2e784cfbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -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: ./