-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6207cc
commit 76f5ddb
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Builders realeaser | ||
|
||
on: | ||
# For manual tests. | ||
workflow_dispatch: | ||
inputs: | ||
release-tag: | ||
description: 'Realse tag to test' | ||
required: true | ||
type: string | ||
push: | ||
tags: | ||
- "*" # triggers only if push new tag version, like `0.8.4` or else | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
# Pre-release reference verification. | ||
pre-release-refs: | ||
name: pre release refs verification | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2 | ||
- name: manual release ref | ||
env: | ||
RELEASE_TAG: ${{ inputs.release-tag }} | ||
if: github.ref_type != 'tag' | ||
run: echo "tag is $RELEASE_TAG" | ||
|
||
- name: new tag release ref | ||
env: | ||
RELEASE_TAG: ${{ env.GITHUB_REF_NAME }} | ||
if: github.ref_type == 'tag' | ||
run: echo "tag is $RELEASE_TAG" | ||
|