Skip to content

Commit 1d34279

Browse files
committed
test github actions
1 parent ef28f4f commit 1d34279

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
env:
8383
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8484
UPLOADTOOL_ISPRERELEASE: true
85-
VERSION: ${GITHUB_REF#refs/tags/}
85+
VERSION: ${{ github.ref_name }}
8686
run: |
8787
echo ${VERSION}
8888
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh
@@ -95,8 +95,9 @@ jobs:
9595
env:
9696
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9797
UPLOADTOOL_ISPRERELEASE: true
98-
VERSION: ${GITHUB_REF#refs/tags/}
98+
VERSION: ${{ github.ref_name }}
9999
run: |
100+
echo ${VERSION}
100101
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh
101102
mv target/${{ matrix.target }}/release/et.exe et-${VERSION}-${{ matrix.target }}.exe
102103
bash upload.sh et-${VERSION}-${{ matrix.target }}.exe

0 commit comments

Comments
 (0)