fix: Another attempt to get this env variable passed correctly

This commit is contained in:
Rostislav Raykov 2019-09-18 10:49:20 +02:00
parent 651ef9ac56
commit e004a70d0b

View file

@ -25,13 +25,13 @@ jobs:
- name: Get the version
run: echo ::set-env name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Archive
run: tar cfJ cloudflare-ddns-$VERSION.tar.xz target/release/cloudflare-ddns
run: tar cfJ cloudflare-ddns-${VERSION}.tar.xz target/release/cloudflare-ddns
- name: Create release
uses: softprops/action-gh-release@v1
with:
body: |
cloudflare-ddns release $VERSION
cloudflare-ddns release ${VERSION}
files: |
cloudflare-ddns-$VERSION
cloudflare-ddns-${VERSION}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}