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 cf3e476 commit b6cb0ecCopy full SHA for b6cb0ec
.github/workflows/flutter-ci.windows.yml
@@ -31,8 +31,7 @@ jobs:
31
id: app_version
32
run: |
33
$content = Get-Content 'pubspec.yaml'
34
- $version = $content -match 'version: (.*)' | Out-Null; $matches[1]
35
- Write-Output "App version is $version"
+ $version = $content | Select-String 'version: (.*)' | ForEach-Object { $_.Matches.Groups[1].Value }
36
echo "APP_VERSION=$version" >> $env:GITHUB_ENV
37
38
- name: Upload Windows build artifact
0 commit comments