fix: Still trying to figure out the correct syntax for GitHub Actions sometimes
This commit is contained in:
parent
52776dcf5b
commit
d0667bb70f
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