Skip to content

Commit f84a7eb

Browse files
authored
do not specify version in workflow file
1 parent 2246dba commit f84a7eb

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

‎.github/workflows/wheel.yml‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
name: Build wheels on ${{ matrix.os }}${{ matrix.name_suffix || '' }}
3030

3131
steps:
32-
- uses: actions/checkout@v7.0.1
33-
- uses: actions/setup-python@v7.1.0
32+
- uses: actions/checkout
33+
- uses: actions/setup-python
3434
with:
3535
python-version: "3.x"
3636
cache: "pip"
@@ -42,12 +42,12 @@ jobs:
4242
4343
- name: Set up QEMU for emulation
4444
if: matrix.cibw_archs == 'riscv64'
45-
uses: docker/setup-qemu-action@v4.4.0
45+
uses: docker/setup-qemu-action
4646
with:
4747
platforms: ${{ matrix.cibw_archs }}
4848

4949
- name: Build
50-
uses: pypa/cibuildwheel@v4.3.5
50+
uses: pypa/cibuildwheel
5151
env:
5252
CIBW_TEST_REQUIRES: "pytest"
5353
CIBW_TEST_COMMAND: "pytest {package}/test"
@@ -62,7 +62,7 @@ jobs:
6262
python -m build -s -o wheelhouse
6363
6464
- name: Upload Wheels to artifact
65-
uses: actions/upload-artifact@v7.0.2
65+
uses: actions/upload-artifact
6666
with:
6767
name: wheels-${{ matrix.os }}${{ matrix.name_suffix || '' }}
6868
path: wheelhouse
@@ -72,15 +72,15 @@ jobs:
7272
needs: [build_wheels]
7373
runs-on: ubuntu-latest
7474
steps:
75-
- uses: actions/download-artifact@v8.0.2
75+
- uses: actions/download-artifact
7676
with:
7777
# unpacks all CIBW artifacts into dist/
7878
pattern: wheels-*
7979
path: dist
8080
merge-multiple: true
8181

8282
- name: Upload Wheels to artifact
83-
uses: actions/upload-artifact@v7.0.2
83+
uses: actions/upload-artifact
8484
with:
8585
name: wheels-all
8686
path: dist
@@ -96,13 +96,11 @@ jobs:
9696
# or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
9797
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
9898
steps:
99-
- uses: actions/download-artifact@v8.0.2
99+
- uses: actions/download-artifact
100100
with:
101101
# unpacks all CIBW artifacts into dist/
102102
pattern: wheels-*
103103
path: dist
104104
merge-multiple: true
105105

106-
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
107-
#with:
108-
# To test: repository-url: https://test.pypi.org/legacy/
106+
- uses: pypa/gh-action-pypi-publish

0 commit comments

Comments
 (0)