Skip to content

Commit

Permalink
replace github.ref to GITHUB_REF_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-z committed Jun 5, 2024
1 parent 722cf2b commit cf4f59a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ jobs:
run: |
sudo apt-get install -y gcc-aarch64-linux-gnu
make build-all-binaries
tar -czvf build/iris-linux-amd64-${ github.ref }.tar.gz build/iris-linux-amd64
tar -czvf build/iris-linux-arm64-${ github.ref }.tar.gz build/iris-linux-arm64
tar -czvf build/iris-linux-amd64-${ GITHUB_REF_NAME }.tar.gz build/iris-linux-amd64
tar -czvf build/iris-linux-arm64-${ GITHUB_REF_NAME }.tar.gz build/iris-linux-arm64
- name: Publish Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: RELEASE.md
files: |
build/iris-linux-amd64-${ github.ref }.tar.gz
build/iris-linux-arm64-${ github.ref }.tar.gz
build/iris-linux-amd64-${ GITHUB_REF_NAME }.tar.gz
build/iris-linux-arm64-${ GITHUB_REF_NAME }.tar.gz

0 comments on commit cf4f59a

Please sign in to comment.