Skip to content

Commit

Permalink
Add is-release-candidate marking
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilad committed Jun 3, 2024
1 parent 830accd commit ca9e914
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
OS: ${{ matrix.os }}
NODE_VERSION: ${{ matrix.node-version }}
outputs:
is-release-candidate: ${{ steps.is-release-candidate.outputs.is-release-candidate }}
artifact-name: ${{ steps.set-artifact-name.outputs.artifact-name }}

steps:
Expand Down Expand Up @@ -69,6 +70,10 @@ jobs:
- name: Reporter CLI smoke test
run: node ./dist/cli/leasot-reporter.js --help

- name: Check if release candidate
id: is-release-candidate
run: echo "is-release-candidate=${{ matrix.node-version == env.DEFAULT_NODE_VERSION && matrix.os == env.DEFAULT_OS_VERSION }}" >> $GITHUB_OUTPUT

- if: matrix.node-version == env.DEFAULT_NODE_VERSION && matrix.os == env.DEFAULT_OS_VERSION
name: Set artifact build name output
id: set-artifact-name
Expand Down

0 comments on commit ca9e914

Please sign in to comment.