We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e7acc02 + 146fde1 commit fe434c3Copy full SHA for fe434c3
1 file changed
source/guides/github-actions-ci-cd-sample/publish-to-test-pypi.yml
@@ -9,6 +9,8 @@ jobs:
9
10
steps:
11
- uses: actions/checkout@v4
12
+ with:
13
+ persist-credentials: false
14
- name: Set up Python
15
uses: actions/setup-python@v5
16
with:
@@ -78,8 +80,8 @@ jobs:
78
80
GITHUB_TOKEN: ${{ github.token }}
79
81
run: >-
82
gh release create
- '${{ github.ref_name }}'
- --repo '${{ github.repository }}'
83
+ "$GITHUB_REF_NAME"
84
+ --repo "$GITHUB_REPOSITORY"
85
--notes ""
86
- name: Upload artifact signatures to GitHub Release
87
env:
@@ -89,8 +91,8 @@ jobs:
89
91
# sigstore-produced signatures and certificates.
90
92
93
gh release upload
- '${{ github.ref_name }}' dist/**
94
+ "$GITHUB_REF_NAME" dist/**
95
96
97
publish-to-testpypi:
98
name: Publish Python 🐍 distribution 📦 to TestPyPI
0 commit comments