mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
try using script for iap stub
This commit is contained in:
parent
f96572030d
commit
deedafa236
2 changed files with 3 additions and 2 deletions
1
.github/scripts/stub_iap.sh
vendored
Normal file
1
.github/scripts/stub_iap.sh
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
perl -0777 -i -pe 's/( m3_lightmeter_iap:\n)( git:\n url: "https:\/\/github.com\/vodemn\/m3_lightmeter_iap"\n ref: main)/$1 path: iap/sg' pubspec.yaml
|
4
.github/workflows/pr_check.yml
vendored
4
.github/workflows/pr_check.yml
vendored
|
@ -29,8 +29,8 @@ jobs:
|
|||
|
||||
- name: Override iap package with stub
|
||||
if: env.STUB_IAP
|
||||
run: |
|
||||
echo "\ndependency_overrides:\n m3_lightmeter_iap:\n path: iap" >> pubspec.yaml
|
||||
run: ./.github/scripts/stub_iap.sh
|
||||
shell: bash
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue