Skip to content

Commit

Permalink
Update 30-webhook-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeFalourd authored Oct 6, 2021
1 parent bb5db33 commit 0affba5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/30-webhook-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Extract tag name
id: tag
uses: actions/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
return context.payload.ref.replace(/\/refs\/tags\//, '');
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Echo
run: echo "Tag Name" ${{ steps.tag.outputs.result }}
run: echo "Tag Name" ${{ steps.get_version.outputs.VERSION }}

- name: Trigger webhook
run: |
Expand Down

0 comments on commit 0affba5

Please sign in to comment.