Skip to content

Commit

Permalink
fix(workflows): Format file
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa committed Jul 9, 2024
1 parent 530eefa commit 6150311
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand All @@ -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
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
channel: "stable"
architecture: x64
# cache: true

- run: flutter gen-l10n
- run: flutter pub get
- run: flutter build macos --verbose
Expand Down Expand Up @@ -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 .
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
with:
channel: "stable"
# cache: true

- name: Initiate Flutter
run: |
flutter gen-l10n
Expand All @@ -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
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
with:
channel: "stable"
cache: false

- name: Initiate Flutter
run: |
flutter gen-l10n
Expand All @@ -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

0 comments on commit 6150311

Please sign in to comment.