Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
apps4av committed Oct 20, 2024
1 parent dea8979 commit 223cc50
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 25 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
flutter-version: '3.22.2'

- name: Find and Replace OpenAIP
uses: jacobtomlinson/gha-find-replace@v3
uses: richardrigutins/replace-in-files@v2
with:
find: "@@___openaip_client_id__@@"
replace: ${{ secrets.OPENAIP_CLIENT_ID }}
include: "*.dart"
regex: false
files: '**/*.dart'
search-text: '@@___openaip_client_id__@@'
replacement-text: ${{ secrets.OPENAIP_CLIENT_ID }}
encoding: 'utf8'
max-parallelism: 10

- name: Install project dependencies
run: flutter pub get
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ jobs:
flutter-version: '3.22.2'

- name: Find and Replace OpenAIP
uses: jacobtomlinson/gha-find-replace@v3
uses: richardrigutins/replace-in-files@v2
with:
find: "@@___openaip_client_id__@@"
replace: ${{ secrets.OPENAIP_CLIENT_ID }}
include: "*.dart"
regex: false
files: '**/*.dart'
search-text: '@@___openaip_client_id__@@'
replacement-text: ${{ secrets.OPENAIP_CLIENT_ID }}
encoding: 'utf8'
max-parallelism: 10

- name: Install the Apple certificate and provisioning profile
run: |
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
flutter-version: '3.22.2'

- name: Find and Replace OpenAIP
uses: jacobtomlinson/gha-find-replace@v3
uses: richardrigutins/replace-in-files@v2
with:
find: "@@___openaip_client_id__@@"
replace: ${{ secrets.OPENAIP_CLIENT_ID }}
include: "*.dart"
regex: false
files: '**/*.dart'
search-text: '@@___openaip_client_id__@@'
replacement-text: ${{ secrets.OPENAIP_CLIENT_ID }}
encoding: 'utf8'
max-parallelism: 10

- name: Install project dependencies
run: |
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/snap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
flutter-version: '3.22.2'

- name: Find and Replace OpenAIP
uses: jacobtomlinson/gha-find-replace@v3
uses: richardrigutins/replace-in-files@v2
with:
find: "@@___openaip_client_id__@@"
replace: ${{ secrets.OPENAIP_CLIENT_ID }}
include: "*.dart"
regex: false
files: '**/*.dart'
search-text: '@@___openaip_client_id__@@'
replacement-text: ${{ secrets.OPENAIP_CLIENT_ID }}
encoding: 'utf8'
max-parallelism: 10

- name: Update source repo
run: sudo apt-get update
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
flutter-version: '3.22.2'

- name: Find and Replace OpenAIP
uses: jacobtomlinson/gha-find-replace@v3
uses: richardrigutins/replace-in-files@v2
with:
find: "@@___openaip_client_id__@@"
replace: ${{ secrets.OPENAIP_CLIENT_ID }}
include: "*.dart"
regex: false
files: '**/*.dart'
search-text: '@@___openaip_client_id__@@'
replacement-text: ${{ secrets.OPENAIP_CLIENT_ID }}
encoding: 'utf8'
max-parallelism: 10

- name: Install project dependencies
run: flutter pub get
Expand Down

0 comments on commit 223cc50

Please sign in to comment.