Skip to content

Commit 977b843

Browse files
authored
Update publish workflow on 1.26.x to match main
1 parent 64a3767 commit 977b843

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
steps:
2323
- name: "Checkout repository"
24-
uses: "actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b"
24+
uses: "actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8"
2525

2626
- name: "Setup Python"
27-
uses: "actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5"
27+
uses: "actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984"
2828
with:
2929
python-version: "3.x"
3030

@@ -42,7 +42,7 @@ jobs:
4242
cd dist && echo "::set-output name=hashes::$(sha256sum * | base64 -w0)"
4343
4444
- name: "Upload dists"
45-
uses: "actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8"
45+
uses: "actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb"
4646
with:
4747
name: "dist"
4848
path: "dist/"
@@ -66,11 +66,13 @@ jobs:
6666
name: "Publish"
6767
if: startsWith(github.ref, 'refs/tags/')
6868
needs: ["build", "provenance"]
69+
permissions:
70+
contents: write
6971
runs-on: "ubuntu-latest"
7072

7173
steps:
7274
- name: "Download dists"
73-
uses: "actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741"
75+
uses: "actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7"
7476
with:
7577
name: "dist"
7678
path: "dist/"

0 commit comments

Comments
 (0)