chore: update process to get relase tag from PSR in release workflow … · python-zeroconf/python-zeroconf@7d0768f
@@ -125,6 +125,7 @@ jobs:
125125contents: write
126126outputs:
127127released: ${{ steps.release.outputs.released }}
128+newest_release_tag: ${{ steps.release.outputs.tag }}
128129129130steps:
130131 - uses: actions/checkout@v4
@@ -261,22 +262,13 @@ jobs:
261262 echo "CIBW_BUILD=${{ matrix.pyver }}*" >> $GITHUB_ENV
262263 fi
263264264- - name: Install python-semantic-release
265-run: pipx install python-semantic-release==7.34.6
266-267- - name: Get Release Tag
268-id: release_tag
269-shell: bash
270-run: |
271- echo "::set-output name=newest_release_tag::$(semantic-release print-version --current)"
272-273265 - uses: actions/checkout@v4
274266with:
275-ref: "${{ steps.release_tag.outputs.newest_release_tag }}"
267+ref: ${{ needs.release.outputs.newest_release_tag }}
276268fetch-depth: 0
277269278270 - name: Build wheels ${{ matrix.musl }} (${{ matrix.qemu }})
279-uses: pypa/cibuildwheel@v2.22.0
271+uses: pypa/cibuildwheel@v2.23.0
280272# to supply options, put them in 'env', like:
281273env:
282274CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}