Skip to content

Commit 340ec30

Browse files
committed
Update release.yml
1 parent 3c1bb0a commit 340ec30

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
if: github.repository_owner == 'flutter'
1919
name: release
2020
permissions:
21+
# Release needs to push a tag back to the repo.
2122
contents: write
2223
runs-on: ubuntu-latest
2324
steps:
@@ -83,9 +84,9 @@ jobs:
8384
# verbose:true will produce too many logs that hang github actions web UI.
8485
verbose: false
8586

86-
- name: run release
87-
run: |
88-
git config --global user.name ${{ secrets.USER_NAME }}
89-
git config --global user.email ${{ secrets.USER_EMAIL }}
90-
dart ./script/tool/lib/src/main.dart publish ${{ inputs.publish-args }}
91-
env: {PUB_CREDENTIALS: "${{ secrets.PUB_CREDENTIALS }}"}
87+
- name: run release
88+
run: |
89+
git config --global user.name ${{ secrets.USER_NAME }}
90+
git config --global user.email ${{ secrets.USER_EMAIL }}
91+
dart ./script/tool/lib/src/main.dart publish ${{ inputs.publish-args }}
92+
env: {PUB_CREDENTIALS: "${{ secrets.PUB_CREDENTIALS }}"}

0 commit comments

Comments
 (0)