github actions

This commit is contained in:
v7lin 2022-05-24 20:16:05 +08:00
parent f62aa0ceb3
commit 4e02bb329f
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ jobs:
- uses: subosito/flutter-action@v2 - uses: subosito/flutter-action@v2
with: with:
channel: 'stable' channel: 'stable'
- name: Run inject credentials - name: Run ${{ github.repository_owner }}/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 update credentials - name: Run ${{ github.repository_owner }}/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: |

View File

@ -11,7 +11,7 @@ jobs:
- uses: subosito/flutter-action@v2 - uses: subosito/flutter-action@v2
with: with:
channel: 'stable' channel: 'stable'
- name: Run inject credentials - name: Run ${{ github.repository_owner }}/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 update credentials - name: Run ${{ github.repository_owner }}/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: |