Skip to content

Commit

Permalink
Move populate-release step to prep-release workflow (jupyterlab-contr…
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio authored Feb 21, 2024
1 parent b84bb00 commit ada6107
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/prep-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ jobs:
since: ${{ github.event.inputs.since }}
since_last_stable: ${{ github.event.inputs.since_last_stable }}

- name: Populate Release
id: populate-release
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ steps.prep-release.outputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}

- name: "** Next Step **"
run: |
echo "Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}"
echo "Optional): Review Draft Release: ${{ steps.populate-release.outputs.release_url }}"
11 changes: 1 addition & 10 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ jobs:
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Populate Release
id: populate-release
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ github.event.inputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}

- name: Finalize Release
id: finalize-release
env:
Expand All @@ -42,7 +33,7 @@ jobs:
uses: jupyter-server/jupyter-releaser/.github/actions/finalize-release@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
release_url: ${{ steps.populate-release.outputs.release_url }}
release_url: ${{ github.event.inputs.release_url }}

- name: "** Next Step **"
if: ${{ success() }}
Expand Down

0 comments on commit ada6107

Please sign in to comment.