|
| 1 | +permissions: |
| 2 | + contents: read |
1 | 3 | on: |
2 | 4 | push: |
3 | 5 | paths: |
|
16 | 18 | runs-on: ubuntu-22.04 |
17 | 19 | steps: |
18 | 20 | - uses: actions/checkout@v4 |
| 21 | + with: |
| 22 | + persist-credentials: false |
19 | 23 |
|
20 | 24 | - name: Set up Python |
21 | 25 | uses: actions/setup-python@v5 |
|
41 | 45 | runs-on: ubuntu-22.04 |
42 | 46 | steps: |
43 | 47 | - uses: actions/checkout@v4 |
| 48 | + with: |
| 49 | + persist-credentials: false |
44 | 50 |
|
45 | 51 | - name: Set up Python |
46 | 52 | uses: actions/setup-python@v5 |
|
67 | 73 | runs-on: ${{ matrix.os }} |
68 | 74 | steps: |
69 | 75 | - uses: actions/checkout@v4 |
| 76 | + with: |
| 77 | + persist-credentials: false |
70 | 78 |
|
71 | 79 | - name: Set up Python |
72 | 80 | uses: actions/setup-python@v5 |
@@ -119,7 +127,7 @@ jobs: |
119 | 127 | echo "SDIST_DIR=$extractedDir" | Out-File -FilePath $env:GITHUB_ENV -Append |
120 | 128 |
|
121 | 129 | - name: Build basemap wheels from sdist |
122 | | - |
| 130 | + uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0 |
123 | 131 | env: |
124 | 132 | CIBW_ARCHS: "native" |
125 | 133 | CIBW_BUILD: "cp39* cp310* cp311* cp312* cp313*" |
@@ -182,6 +190,8 @@ jobs: |
182 | 190 | runs-on: ubuntu-22.04 |
183 | 191 | steps: |
184 | 192 | - uses: actions/checkout@v4 |
| 193 | + with: |
| 194 | + persist-credentials: false |
185 | 195 |
|
186 | 196 | - name: Set up Python |
187 | 197 | uses: actions/setup-python@v5 |
@@ -270,7 +280,7 @@ jobs: |
270 | 280 | merge-multiple: true |
271 | 281 |
|
272 | 282 | - name: Publish to PyPI |
273 | | - uses: pypa/gh-action-pypi-publish@release/v1 |
| 283 | + uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 |
274 | 284 | with: |
275 | 285 | password: ${{ secrets.PYPI_TOKEN }} |
276 | 286 | repository-url: ${{ secrets.PYPI_REPOSITORY_URL }} |
|
0 commit comments