Skip to content

Commit

Permalink
Merge pull request #1750 from oasisprotocol/kostko/fix/determine-oasi…
Browse files Browse the repository at this point in the history
…s-core-ver-rt

.github/actions/oasis-core-commit-ref: Support runtime-only tags
  • Loading branch information
kostko authored May 8, 2024
2 parents 2e0d64b + bfad407 commit 718ff5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/oasis-core-commit-ref/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ runs:
- shell: bash
id: ref
run: |
REF=$(cargo metadata --format-version 1 | jq -cr '.packages[] | select(.name == "oasis-core-runtime") | .source' | grep -o '\?.*#' | cut -d= -f2 | tr -d '#')
REF=$(cargo metadata --format-version 1 | jq -cr '.packages[] | select(.name == "oasis-core-runtime") | .source' | grep -o '\?.*#' | cut -d= -f2 | tr -d '#' | sed -E 's/runtime\/(.+)-.+/\1/')
echo "ref=$(echo ${REF})" >> $GITHUB_OUTPUT

0 comments on commit 718ff5c

Please sign in to comment.