github actions

This commit is contained in:
v7lin 2022-05-25 11:53:48 +08:00
parent 4e02bb329f
commit 5817560dc6
3 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Run ${{ github.repository_owner }}/clang-format@shell
- name: Run llvm/clang-format@shell
run: |
brew install clang-format
- run: clang-format -style=file -i ios/Classes/*.h ios/Classes/*.m --dry-run
@ -40,7 +40,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: |