CASMCMS-8557: Add convenience CLI options for BOS v2 components updates #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Promote build to a release (stable) | |
on: | |
push: | |
tags: | |
- 'v?[0-9]+.[0-9]+.[0-9]+' | |
- 'v?[0-9]+.[0-9]+.[0-9]+.post[0-9]+' | |
workflow_dispatch: | |
env: | |
STREAM: stable | |
jobs: | |
Promote: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Jfrog setup | |
uses: jfrog/setup-jfrog-cli@v3 | |
env: | |
JF_URL: https://artifactory.algol60.net | |
JF_USER: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }} | |
JF_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }} | |
- uses: ./.github/actions/prepare-artifacts | |
with: | |
STREAM: ${{ env.STREAM }} | |
- uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: true # if the job is re-ran to catch missed artifacts, allow updates | |
generateReleaseNotes: true | |
artifacts: ${{ env.DIR_UPLOAD }}/* | |
prerelease: false | |
makeLatest: true |