fix: try again to get the version name in tweets

This commit is contained in:
Zach Daniel 2020-08-15 17:48:06 -04:00
parent 853f87603e
commit d8a306e619
No known key found for this signature in database
GPG key ID: C377365383138D4B

View file

@ -47,9 +47,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
env: env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }} HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
- name: Get the version
id: get_version
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/}
- uses: ethomson/send-tweet-action@v1 - uses: ethomson/send-tweet-action@v1
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
with: with: