Skip to content

Commit c016176

Browse files
committed
Update release.yml
1 parent e6999ba commit c016176

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
2828
git add setup.py
2929
git commit -m "bump version" && git push || echo "No changes to commit"
30-
git log -n 1 --pretty=format:"%h" | tail -n 1 | awk '{print "::set-output name=sha::"$0}'
30+
git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}'
3131
3232
- name: Get version
3333
id: get_version
@@ -82,7 +82,7 @@ jobs:
8282
steps:
8383

8484
- name: Checkout
85-
uses: actions/checkout@v2
85+
uses: actions/checkout@v3
8686
with:
8787
ref: ${{ needs.release_create.outputs.new_sha }}
8888

@@ -129,7 +129,7 @@ jobs:
129129
steps:
130130

131131
- name: Checkout
132-
uses: actions/checkout@v2
132+
uses: actions/checkout@v3
133133
with:
134134
ref: ${{ needs.release_create.outputs.new_sha }}
135135

@@ -171,7 +171,7 @@ jobs:
171171
steps:
172172

173173
- name: Checkout
174-
uses: actions/checkout@v2
174+
uses: actions/checkout@v3
175175
with:
176176
ref: ${{ needs.release_create.outputs.new_sha }}
177177

0 commit comments

Comments
 (0)