Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
PartyDonut committed Oct 11, 2024
2 parents 13aafef + c6d709a commit 8eb40d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ jobs:
build/app/outputs/bundle/release/${{ env.APP_NAME }}-${{ env.VERSION_NAME }}-signed.aab
build-windows:
runs-on: windows-latest
#Use windows-2019, latest(2022) causes MSVCP140.dll related crashes
runs-on: windows-2019

steps:
- name: Checkout repository
Expand All @@ -108,11 +109,12 @@ jobs:
$pubspec = Get-Content pubspec.yaml
$APP_NAME = ($pubspec | Select-String '^name:' | ForEach-Object { ($_ -split ':')[1].Trim() })
$VERSION_NAME = ($pubspec | Select-String '^version:' | ForEach-Object { ($_ -split ':')[1].Trim().Split('+')[0] })
$BUILD_NUMBER = ${{ github.run_number }}
echo "APP_NAME=$APP_NAME" >> $Env:GITHUB_ENV
echo "VERSION_NAME=$VERSION_NAME" >> $Env:GITHUB_ENV
flutter build windows
flutter build windows --build-name=$VERSION_NAME --build-number=$BUILD_NUMBER
- name: Archive Windows artifact
uses: actions/[email protected]
Expand Down

0 comments on commit 8eb40d6

Please sign in to comment.