mirror of
https://github.com/RxReader/walle_kit.git
synced 2025-05-17 15:26:38 +08:00
github actions
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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
|
||||
|
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: |
|
||||
|
Reference in New Issue
Block a user