core: update tag name #8
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: Push - release for feature preid | |
concurrency: | |
# group name unique for push to push-preid-release | |
group: push-release-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- storage-browser/integrity | |
jobs: | |
e2e: | |
secrets: inherit | |
uses: ./.github/workflows/callable-release-verification.yml | |
parse-preid: | |
name: Parse preid from branch | |
runs-on: ubuntu-latest | |
env: | |
BRANCH: ${{ github.ref_name }} | |
steps: | |
- id: output_preid | |
run: echo "preid=$(echo $BRANCH | tr -cd '[:alnum:]_\-/.' | cut -d \/ -f 2)" >> $GITHUB_OUTPUT | |
outputs: | |
preid: ${{ steps.output_preid.outputs.preid }} | |
preid-release: | |
needs: | |
- e2e | |
- parse-preid | |
secrets: inherit | |
uses: ./.github/workflows/callable-npm-publish-preid.yml | |
# The preid should be detected from the branch name recommending feat/{PREID}/whatever as branch naming pattern | |
# if your branch doesn't follow this pattern, you can override it here for your branch. | |
with: | |
preid: storage-browser-internal | |
# preid: ${{ needs.parse-preid.outputs.preid }} |