Skip to content

Commit

Permalink
chore: disable tag publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Aug 22, 2024
1 parent bad6066 commit 47df85b
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/push-preid-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ 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 }}
# 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: ${{ needs.parse-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: ${{ needs.parse-preid.outputs.preid }}

0 comments on commit 47df85b

Please sign in to comment.