Skip to content

Commit

Permalink
ci: update description for contract build action to include tags (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
talalashraf authored Jul 29, 2024
1 parent 5def6f3 commit aba3433
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-contracts-and-push-to-r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:
inputs:
branch:
description: Github branch to checkout for compilation
description: Github branch or tag to checkout for compilation
required: true
default: main
type: string
Expand Down Expand Up @@ -40,16 +40,16 @@ jobs:
run: |
tag="${{ steps.get-tag.outputs.tag }}"
is_release="false"
if [[ $tag =~ ^([a-zA-Z-]+)-v([0-9]+\.[0-9]+\.[0-9]+)$ ]]; then
is_release="true"
crate_name="${BASH_REMATCH[1]}"
crate_version="${BASH_REMATCH[2]}"
echo "Is release: $is_release"
echo "Crate Name: $crate_name"
echo "Crate Version: $crate_version"
echo "is-release=$is_release" >> $GITHUB_OUTPUT
echo "crate-name=$crate_name" >> $GITHUB_OUTPUT
echo "crate-version=$crate_version" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit aba3433

Please sign in to comment.