github actions
This commit is contained in:
parent
4e02bb329f
commit
5817560dc6
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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
|
||||
|
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -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: |
|
||||
|
4
.github/workflows/publish_manually.yml
vendored
4
.github/workflows/publish_manually.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user