File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
source/guides/github-actions-ci-cd-sample Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v4
12+ with :
13+ persist-credentials : false
1214 - name : Set up Python
1315 uses : actions/setup-python@v5
1416 with :
7880 GITHUB_TOKEN : ${{ github.token }}
7981 run : >-
8082 gh release create
81- '${{ github.ref_name }}'
82- --repo '${{ github.repository }}'
83+ "$GITHUB_REF_NAME"
84+ --repo "$GITHUB_REPOSITORY"
8385 --notes ""
8486 - name : Upload artifact signatures to GitHub Release
8587 env :
8991 # sigstore-produced signatures and certificates.
9092 run : >-
9193 gh release upload
92- '${{ github.ref_name }}' dist/**
93- --repo '${{ github.repository }}'
94+ "$GITHUB_REF_NAME" dist/**
95+ --repo "$GITHUB_REPOSITORY"
9496
9597 publish-to-testpypi :
9698 name : Publish Python 🐍 distribution 📦 to TestPyPI
You can’t perform that action at this time.
0 commit comments