@@ -50,10 +50,11 @@ jobs:
5050 cibw_python : ["cp312", "cp313", "cp314", "cp314t", "cp315", "cp315t"]
5151 cibw_arch : ["x86_64"]
5252 steps :
53- - uses : actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a # v4.1.2
53+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5454 with :
5555 fetch-depth : 0
56- - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v5.5.0
56+ persist-credentials : false
57+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
5758 name : Install Python
5859 with :
5960 python-version : " 3.12"
@@ -81,10 +82,11 @@ jobs:
8182 cibw_python : ["cp312", "cp313", "cp314", "cp314t", "cp315", "cp315t"]
8283 cibw_arch : ["aarch64"]
8384 steps :
84- - uses : actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a # v4.1.2
85+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
8586 with :
8687 fetch-depth : 0
87- - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v5.5.0
88+ persist-credentials : false
89+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
8890 name : Install Python
8991 with :
9092 python-version : " 3.12"
@@ -116,11 +118,12 @@ jobs:
116118 - os : macos-15-intel
117119 cibw_arch : " arm64"
118120 steps :
119- - uses : actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a # v4.1.2
121+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
120122 with :
121123 fetch-depth : 0
124+ persist-credentials : false
122125
123- - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v5.5 .0
126+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0 .0
124127 name : Install Python
125128 with :
126129 python-version : " 3.12"
@@ -166,30 +169,31 @@ jobs:
166169 - os : windows-11-arm
167170 cibw_arch : AMD64
168171 steps :
169- - uses : actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a # v4.1.2
172+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
170173 with :
171174 fetch-depth : 0
175+ persist-credentials : false
172176
173- - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v5.5 .0
177+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0 .0
174178 name : Install Python
175179 with :
176180 python-version : " 3.12"
177181
178182 - name : Setup MSVC (32-bit)
179183 if : matrix.cibw_arch == 'x86'
180- uses : bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1
184+ uses : bus1/cabuild/action/msdevshell@06ea2833eef61e9b0d0ce0d728416e617e4fb1fe # v1
181185 with :
182186 architecture : x86
183187
184188 - name : Setup MSVC (64-bit)
185189 if : matrix.cibw_arch == 'AMD64'
186- uses : bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1
190+ uses : bus1/cabuild/action/msdevshell@06ea2833eef61e9b0d0ce0d728416e617e4fb1fe # v1
187191 with :
188192 architecture : x64
189193
190194 - name : Setup MSVC (ARM64)
191195 if : matrix.cibw_arch == 'ARM64'
192- uses : bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1
196+ uses : bus1/cabuild/action/msdevshell@06ea2833eef61e9b0d0ce0d728416e617e4fb1fe # v1
193197 with :
194198 architecture : arm64
195199
@@ -215,7 +219,7 @@ jobs:
215219 with :
216220 persist-credentials : false
217221
218- - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v5.5 .0
222+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0 .0
219223 name : Install Python
220224 with :
221225 python-version : " 3.12"
@@ -321,11 +325,11 @@ jobs:
321325 print-hash : true
322326 attestations : true
323327
324- - name : Github release
325- uses : softprops/action-gh- release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
328+ - name : GitHub release
329+ run : gh release create "${GITHUB_REF_NAME}" --verify-tag --notes ""
326330 env :
327- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
328- GITHUB_REPOSITORY : ${{ github.repository }}
331+ GH_TOKEN : ${{ github.token }}
332+ GH_REPO : ${{ github.repository }}
329333
330334 deploy_anaconda :
331335 name : Release (Anaconda)
@@ -339,14 +343,15 @@ jobs:
339343 # Run only on pushes to the main branch, on schedule, or when triggered manually
340344 if : >-
341345 github.repository == 'PyWavelets/pywt' &&
342- (github.event_name == 'push' && github.ref == 'refs/heads/main') ||
346+ (( github.event_name == 'push' && github.ref == 'refs/heads/main') ||
343347 (github.event_name == 'workflow_dispatch' && github.event.inputs.push_wheels == 'true') ||
344- ( github.event_name == 'schedule')
348+ github.event_name == 'schedule')
345349 runs-on : ubuntu-latest
346350 steps :
347- - uses : actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a # v4.1.2
351+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
348352 with :
349353 fetch-depth : 0
354+ persist-credentials : false
350355
351356 - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
352357 id : download
@@ -356,7 +361,7 @@ jobs:
356361 merge-multiple : true
357362
358363 - name : Push to Anaconda PyPI index
359- uses : scientific-python/upload-nightly-action@e76cfec8a4611fd02808a801b0ff5a7d7c1b2d99 # v0 .6.4
364+ uses : scientific-python/upload-nightly-action@e76cfec8a4611fd02808a801b0ff5a7d7c1b2d99 # 0 .6.4
360365 with :
361366 artifacts_path : dist/
362367 anaconda_nightly_upload_token : ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
0 commit comments