From f2e784cfbf940b00c7ed6c6a5e322538571c3219 Mon Sep 17 00:00:00 2001 From: JHubi1 Date: Fri, 14 Mar 2025 20:30:52 +0100 Subject: [PATCH] GH Actions testing --- .github/workflows/build.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7d57524..2755817 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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: ./ \ No newline at end of file + path: ./