Skip to content

Commit 3925793

Browse files
committed
fix: rework github release action
1 parent 48a2da5 commit 3925793

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
2828
- name: Package artifacts
2929
run: |
30-
TAG=${{GITHUB_REF_NAME}}
30+
TAG=${{ github.ref_name }}
3131
tar -czf observer-${{ matrix.goarch }}-$TAG.tar.gz observer-${{ matrix.goarch }}
3232
3333
- name: Upload artifacts
3434
uses: actions/upload-artifact@v4
3535
with:
3636
name: observer-${{ matrix.goarch }}
37-
path: observer-${{ matrix.goarch }}-${{GITHUB_REF_NAME}}.tar.gz
37+
path: observer-${{ matrix.goarch }}-${{ github.ref_name }}.tar.gz
3838
release:
3939
runs-on: ubuntu-latest
4040
needs: build
@@ -48,5 +48,5 @@ jobs:
4848
- name: Release
4949
uses: softprops/action-gh-release@v2
5050
with:
51-
name: observer-${{GITHUB_REF_NAME}}
51+
name: observer-${{ github.ref_name }}
5252
files: ./artifacts/**/*.tar.gz

0 commit comments

Comments
 (0)