Update publish.yml

This commit is contained in:
droplet
2023-05-29 15:01:49 +08:00
committed by GitHub
parent 3a62daf897
commit 9b6770bce2

View File

@ -27,9 +27,3 @@ jobs:
- run: flutter pub get
- run: dart format --set-exit-if-changed .
- run: echo "y" | flutter pub publish
- name: Run pub.dev/update-credentials@shell
env:
UPDATE_SECRETS_PAT_TOKEN: ${{ secrets.UPDATE_SECRETS_PAT_TOKEN }}
run: |
gh auth login --with-token <<< $UPDATE_SECRETS_PAT_TOKEN
gh secret set CREDENTIALS_JSON < $PUB_CACHE/credentials.json