|
39 | 39 | release_url: ${{ github.event.inputs.release_url }} |
40 | 40 | steps_to_skip: ${{ github.event.inputs.steps_to_skip }} |
41 | 41 |
|
42 | | - - name: Finalize Release for github packages |
43 | | - id: finalize-release-gh-packages |
44 | | - env: |
45 | | - NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
46 | | - NPM_REGISTRY: https://npm.pkg.github.com/ |
47 | | - uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2 |
48 | | - with: |
49 | | - token: ${{ steps.app-token.outputs.token }} |
50 | | - steps_to_skip: "forwardport-changelog,publish-release" |
51 | | -# no release_url as we only want to publish to npm |
52 | | -# release_url: ${{ steps.populate-release.outputs.release_url }} |
53 | | - |
54 | 42 | - name: Finalize Release |
55 | 43 | id: finalize-release |
56 | 44 | env: |
|
64 | 52 | token: ${{ steps.app-token.outputs.token }} |
65 | 53 | release_url: ${{ steps.populate-release.outputs.release_url }} |
66 | 54 |
|
| 55 | + - name: Prepare for github package release and clean python packages |
| 56 | + id: clean-python-packages |
| 57 | + run: | |
| 58 | + set -eux |
| 59 | + rm dist/*.whl |
| 60 | + rm dist/*.gz |
| 61 | + |
| 62 | + - name: Finalize Release for github packages |
| 63 | + id: finalize-release-gh-packages |
| 64 | + env: |
| 65 | + NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 66 | + NPM_REGISTRY: https://npm.pkg.github.com/ |
| 67 | + uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2 |
| 68 | + with: |
| 69 | + token: ${{ steps.app-token.outputs.token }} |
| 70 | + steps_to_skip: "forwardport-changelog,publish-release" |
| 71 | +# no release_url as we only want to publish to npm |
| 72 | +# release_url: ${{ steps.populate-release.outputs.release_url }} |
| 73 | + |
67 | 74 | - name: "** Next Step **" |
68 | 75 | if: ${{ success() }} |
69 | 76 | run: | |
|
0 commit comments