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
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- name: Run ${{ github.repository_owner }}/clang-format@shell
|
- name: Run llvm/clang-format@shell
|
||||||
run: |
|
run: |
|
||||||
brew install clang-format
|
brew install clang-format
|
||||||
- run: clang-format -style=file -i ios/Classes/*.h ios/Classes/*.m --dry-run
|
- run: clang-format -style=file -i ios/Classes/*.h ios/Classes/*.m --dry-run
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
- uses: subosito/flutter-action@v2
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- name: Run ${{ github.repository_owner }}/install-ndk@shell
|
- name: Run android/install-ndk@shell
|
||||||
run: |
|
run: |
|
||||||
sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;21.1.6352462"
|
sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;21.1.6352462"
|
||||||
- run: flutter --version
|
- 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
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- name: Run ${{ github.repository_owner }}/inject-credentials@shell
|
- name: Run pub.dev/inject-credentials@shell
|
||||||
env:
|
env:
|
||||||
CREDENTIALS: ${{ secrets.CREDENTIALS_JSON }}
|
CREDENTIALS: ${{ secrets.CREDENTIALS_JSON }}
|
||||||
run: |
|
run: |
|
||||||
@ -26,7 +26,7 @@ jobs:
|
|||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- run: flutter format --dry-run --set-exit-if-changed .
|
- run: flutter format --dry-run --set-exit-if-changed .
|
||||||
- run: echo "y" | flutter pub publish
|
- run: echo "y" | flutter pub publish
|
||||||
- name: Run ${{ github.repository_owner }}/update-credentials@shell
|
- name: Run pub.dev/update-credentials@shell
|
||||||
env:
|
env:
|
||||||
UPDATE_SECRETS_PAT_TOKEN: ${{ secrets.UPDATE_SECRETS_PAT_TOKEN }}
|
UPDATE_SECRETS_PAT_TOKEN: ${{ secrets.UPDATE_SECRETS_PAT_TOKEN }}
|
||||||
run: |
|
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
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- name: Run ${{ github.repository_owner }}/inject-credentials@shell
|
- name: Run pub.dev/inject-credentials@shell
|
||||||
env:
|
env:
|
||||||
CREDENTIALS: ${{ secrets.CREDENTIALS_JSON }}
|
CREDENTIALS: ${{ secrets.CREDENTIALS_JSON }}
|
||||||
run: |
|
run: |
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- run: flutter format --dry-run --set-exit-if-changed .
|
- run: flutter format --dry-run --set-exit-if-changed .
|
||||||
- run: echo "y" | flutter pub publish
|
- run: echo "y" | flutter pub publish
|
||||||
- name: Run ${{ github.repository_owner }}/update-credentials@shell
|
- name: Run pub.dev/update-credentials@shell
|
||||||
env:
|
env:
|
||||||
UPDATE_SECRETS_PAT_TOKEN: ${{ secrets.UPDATE_SECRETS_PAT_TOKEN }}
|
UPDATE_SECRETS_PAT_TOKEN: ${{ secrets.UPDATE_SECRETS_PAT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user