We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1aa735 commit cf3e476Copy full SHA for cf3e476
.github/workflows/flutter-ci.windows.yml
@@ -31,9 +31,9 @@ jobs:
31
id: app_version
32
run: |
33
$content = Get-Content 'pubspec.yaml'
34
- $version = $content | Select-String 'version: (.*)' | ForEach-Object { $_.Matches.Groups[1].Value }
35
- echo "App version is $version"
36
- echo "APP_VERSION=$version" >> $GITHUB_ENV
+ $version = $content -match 'version: (.*)' | Out-Null; $matches[1]
+ Write-Output "App version is $version"
+ echo "APP_VERSION=$version" >> $env:GITHUB_ENV
37
38
- name: Upload Windows build artifact
39
uses: actions/upload-artifact@v4
0 commit comments