github actions

This commit is contained in:
v7lin
2022-05-25 11:47:52 +08:00
parent 1e7fd4a46a
commit 94db3ec687
3 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Run ${{ github.repository_owner }}/install-ndk@shell
- name: Run android/install-ndk@shell
run: |
sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;21.1.6352462"
- run: flutter --version
@ -43,7 +43,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Run ${{ github.repository_owner }}/install-ndk@shell
- name: Run android/install-ndk@shell
run: |
sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;21.1.6352462"
- run: flutter --version

View File

@ -13,7 +13,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Run ${{ github.repository_owner }}/inject-credentials@shell
- name: Run pub.dev/inject-credentials@shell
env:
CREDENTIALS: ${{ secrets.CREDENTIALS_JSON }}
run: |
@ -26,7 +26,7 @@ jobs:
- run: flutter pub get
- run: flutter format --dry-run --set-exit-if-changed .
- run: echo "y" | flutter pub publish
- name: Run ${{ github.repository_owner }}/update-credentials@shell
- name: Run pub.dev/update-credentials@shell
env:
UPDATE_SECRETS_PAT_TOKEN: ${{ secrets.UPDATE_SECRETS_PAT_TOKEN }}
run: |

View File

@ -11,7 +11,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Run ${{ github.repository_owner }}/inject-credentials@shell
- name: Run pub.dev/inject-credentials@shell
env:
CREDENTIALS: ${{ secrets.CREDENTIALS_JSON }}
run: |
@ -24,7 +24,7 @@ jobs:
- run: flutter pub get
- run: flutter format --dry-run --set-exit-if-changed .
- run: echo "y" | flutter pub publish
- name: Run ${{ github.repository_owner }}/update-credentials@shell
- name: Run pub.dev/update-credentials@shell
env:
UPDATE_SECRETS_PAT_TOKEN: ${{ secrets.UPDATE_SECRETS_PAT_TOKEN }}
run: |