Skip to content

Commit

Permalink
Merge pull request from GHSA-w8qx-vwmw-xmhc
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos authored Mar 1, 2024
1 parent cf34423 commit 6514495
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ runs:
# console.log(response.status);
- name: 'Extract tag info'
if: ${{ inputs.publish == 'true' }}
env:
GITHUBREF: ${{ github.ref }}
run: |
PACKAGE_NAME=$(sed -E 's/refs\/tags\/([a-z0-9_]+)-v([0-9]+\.[0-9]+\.[0-9]+)/\1/' <<< "${{ github.ref }}") && \
PACKAGE_NAME=$(sed -E 's/refs\/tags\/([a-z0-9_]+)-v([0-9]+\.[0-9]+\.[0-9]+)/\1/' <<< $GITHUBREF) && \
echo "PACKAGE_NAME=$PACKAGE_NAME" >> $GITHUB_ENV
echo "Package name: $PACKAGE_NAME"
shell: bash
Expand Down

0 comments on commit 6514495

Please sign in to comment.