diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 57f1efa..a3ad09c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -115,8 +115,10 @@ jobs: name: Wheel Upload runs-on: ubuntu-latest needs: [python-linux, python-windows, python-macos, python-sdist] + env: + GH_TOKEN: ${{ github.token }} steps: - - run: gh run download ${{github.run_id}} -n wheels-*/* + - run: gh run download ${{ github.run_id }} -n wheels-*/* - name: release run: | gh release create commit-${GITHUB_SHA:0:8} --prerelease wheels-*/* @@ -127,8 +129,10 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" needs: [python-linux, python-windows, python-macos, python-sdist] environment: release + env: + GH_TOKEN: ${{ github.token }} steps: - - run: gh run download ${{github.run_id}} -n wheels-*/* + - run: gh run download ${{ github.run_id }} -n wheels-*/* - name: Publish to PyPI uses: PyO3/maturin-action@v1 with: