Merge pull request #377 from Cray-HPE/CASMPET-6917 #3
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 a build to a release candidate | |
on: | |
push: | |
tags: | |
- 'v?[0-9]+.[0-9]+.[0-9]+a[0-9]+' | |
- 'v?[0-9]+.[0-9]+.[0-9]+b[0-9]+' | |
- 'v?[0-9]+.[0-9]+.[0-9]+rc[0-9]+' | |
workflow_dispatch: | |
env: | |
STREAM: unstable | |
jobs: | |
Promote: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Jfrog setup | |
uses: jfrog/setup-jfrog-cli@v4 | |
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: true | |
makeLatest: false |