Skip to content

Commit

Permalink
fix sed in ci runs on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ErBWs committed Jan 25, 2025
1 parent e8dd5d7 commit 840ad77
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@
- run: flutter pub get
- name: Inject DanDan API Credentials
run: |
sed -i 's/kvpx7qkqjh/${{ secrets.DANDANAPI_APPID }}/g' lib/utils/mortis.dart
sed -i 's/rABUaBLqdz7aCSi3fe88ZDj2gwga9Vax/${{ secrets.DANDANAPI_KEY }}/g' lib/utils/mortis.dart
sed -i '' 's/kvpx7qkqjh/${{ secrets.DANDANAPI_APPID }}/g' lib/utils/mortis.dart
sed -i '' 's/rABUaBLqdz7aCSi3fe88ZDj2gwga9Vax/${{ secrets.DANDANAPI_KEY }}/g' lib/utils/mortis.dart
- name: Build IPA
run: |
flutter build ios --release --no-codesign
Expand Down Expand Up @@ -257,8 +257,8 @@
- run: flutter pub get
- name: Inject DanDan API Credentials
run: |
sed -i 's/kvpx7qkqjh/${{ secrets.DANDANAPI_APPID }}/g' lib/utils/mortis.dart
sed -i 's/rABUaBLqdz7aCSi3fe88ZDj2gwga9Vax/${{ secrets.DANDANAPI_KEY }}/g' lib/utils/mortis.dart
sed -i '' 's/kvpx7qkqjh/${{ secrets.DANDANAPI_APPID }}/g' lib/utils/mortis.dart
sed -i '' 's/rABUaBLqdz7aCSi3fe88ZDj2gwga9Vax/${{ secrets.DANDANAPI_KEY }}/g' lib/utils/mortis.dart
- run: flutter build macos --release
- name: Create DMG
run: |
Expand Down
8 changes: 8 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "6.11.0"
antlr4:
dependency: "direct main"
description:
name: antlr4
sha256: "752b4a6e4ad97953652a2b2bbf5377f46c94b579d3372b50080c7e5858234a05"
url: "https://pub.dev"
source: hosted
version: "4.13.2"
archive:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ dependencies:
material_color_utilities: any
path: any
screen_brightness_platform_interface: any
antlr4: ^4.13.2

dependency_overrides:
media_kit:
Expand Down

0 comments on commit 840ad77

Please sign in to comment.