fix: Another attempt to get this env variable passed correctly
This commit is contained in:
parent
651ef9ac56
commit
e004a70d0b
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -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 }}
|
Loading…
Reference in a new issue