From 6150311d8fe995ed998826697f1764fa09cfc7d3 Mon Sep 17 00:00:00 2001 From: Bruno D'Luka Date: Tue, 9 Jul 2024 19:08:31 -0300 Subject: [PATCH] fix(workflows): Format file --- .github/workflows/build.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 577f54fe..a615d061 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,7 @@ jobs: bluecherry-android-armeabi-v7a-release.apk bluecherry-android-x86_64-release.apk token: ${{ secrets.GITHUB_TOKEN }} - + - name: Release # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-contexts if: startsWith(github.ref, 'refs/tags/') @@ -84,7 +84,7 @@ jobs: channel: "stable" architecture: x64 # cache: true - + - run: flutter gen-l10n - run: flutter pub get - run: flutter build ios --verbose --no-codesign @@ -126,7 +126,7 @@ jobs: channel: "stable" architecture: x64 # cache: true - + - run: flutter gen-l10n - run: flutter pub get - run: flutter build macos --verbose @@ -178,7 +178,7 @@ jobs: # https://docs.flutter.dev/platform-integration/windows/building#distributing-windows-apps # to fix crash issues like: # https://github.com/media-kit/media-kit/issues/842 - run: + run: | Copy-Item (& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find 'VC\Redist\MSVC\*\x64\*\msvcp140.dll') -Force . Copy-Item (& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find 'VC\Redist\MSVC\*\x64\*\msvcp140_1.dll') -Force . Copy-Item (& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find 'VC\Redist\MSVC\*\x64\*\msvcp140_2.dll') -Force . @@ -234,7 +234,7 @@ jobs: with: channel: "stable" # cache: true - + - name: Initiate Flutter run: | flutter gen-l10n @@ -250,7 +250,7 @@ jobs: mkdir -p linux/debian/usr/bin cp -fr build/linux/x64/release/bundle linux/debian/usr/share/bluecherry_client ln -sr linux/debian/usr/share/bluecherry_client/bluecherry_client linux/debian/usr/bin/bluecherry_client - + sed -i "s:cp -rf :cp -rf $(pwd)/:" linux/rpm/bluecherry.spec cd linux/debian sed -i "s:FILES_HERE:$(find usr \( -type l -o -type f \) -follow -print | awk '{printf "/%s\\n", $0}'):" ../rpm/bluecherry.spec @@ -356,7 +356,7 @@ jobs: with: channel: "stable" cache: false - + - name: Initiate Flutter run: | flutter gen-l10n @@ -382,13 +382,12 @@ jobs: with: channel: "stable" cache: false - + - name: Initiate Flutter run: | flutter gen-l10n flutter pub get - + - name: Build run: | flutter build web --verbose --dart-define=FLUTTER_WEB_USE_SKIA=true --dart-define=FLUTTER_WEB_AUTO_DETECT=true -