Skip to content

Commit

Permalink
Merge pull request #8 from cncsc/feature/XDR-5434
Browse files Browse the repository at this point in the history
XDR-5434: Add an environment for Semantic Release
  • Loading branch information
GerardSetho authored Jan 19, 2024
2 parents 56e4352 + dbaed31 commit a0f1ebb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@ on:
required: true
NPM_ACCESS_TOKEN:
required: false
inputs:
environment:
description: The environment that this job references.
required: false
type: string
default: ''
outputs:
semver:
description: The semantic version inferred from the commit history and assigned to the current commit hash.
value: ${{ jobs.semantic-release.outputs.semver }}
jobs:
semantic-release:
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
outputs:
semver: ${{ steps.get-semver.outputs.semver }}
steps:
Expand Down

0 comments on commit a0f1ebb

Please sign in to comment.