Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ concurrency:
group: release-${{ github.ref_name }}
cancel-in-progress: false

# Job names use the github context only: GitHub does not evaluate `needs.*` in the name of a job
# it skips, so a name built from the plan's tag showed as "${{ … }}" on every other branch's run.
# The version is in each job's summary.
jobs:
ci:
name: CI
Expand Down Expand Up @@ -67,7 +70,7 @@ jobs:
GITHUB_PACKAGES_TOKEN: ${{ github.token }}

dev:
name: Release ${{ needs.plan.outputs.tag }} on dev
name: Release on dev
needs: plan
if: github.ref_name == 'dev'
runs-on: ubuntu-latest
Expand Down Expand Up @@ -148,7 +151,7 @@ jobs:
} >> "${GITHUB_STEP_SUMMARY}"

promote:
name: Promote ${{ needs.plan.outputs.tag }} to ${{ github.ref_name }}
name: Promote to ${{ github.ref_name }}
needs: plan
if: github.ref_name == 'stage' || github.ref_name == 'prod'
runs-on: ubuntu-latest
Expand Down Expand Up @@ -224,7 +227,7 @@ jobs:
# main only: the public registry. Its own job because npm's trusted publisher is bound to the
# `npm` environment, whose deployment branch is main.
public:
name: Publish ${{ needs.plan.outputs.tag }} to npm
name: Publish to npm
needs: plan
if: github.ref_name == 'main'
runs-on: ubuntu-latest
Expand Down
Loading