Skip to content

Commit 71f4a08

Browse files
committed
refactor workflow
1 parent c93f5ac commit 71f4a08

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/macos-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
run: |
6767
export TAG_NAME=${{ github.event.release.tag_name }}
6868
export TAG_NAME=${TAG_NAME:-"nightly"}
69+
echo $TAG_NAME
6970
mv /tmp/macos_${{ matrix.job.arch }}_${{ github.event.release.tag_name }}.zip /tmp/macos_${{ matrix.job.arch }}_${TAG_NAME}.zip
70-
gh release create $TAGNAME -t "$TAGNAME}" -n "$TAGNAME"
71-
gh release upload $TAGNAME /tmp/macos_${{ matrix.job.arch }}_${TAG_NAME}.zip
71+
gh release create $TAG_NAME -t "$TAG_NAME}" -n "$TAG_NAME"
72+
gh release upload $TAG_NAME /tmp/macos_${{ matrix.job.arch }}_${TAG_NAME}.zip

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
run: |
7474
export TAG_NAME=${{ github.event.release.tag_name }}
7575
export TAG_NAME=${TAG_NAME:-"nightly"}
76+
echo $TAG_NAME
7677
mv /tmp/ubuntu_amd64_${{ github.event.release.tag_name }}.zip /tmp/ubuntu_amd64_${TAG_NAME}.zip
77-
gh release create $TAGNAME -t "$TAGNAME}" -n "$TAGNAME"
78-
gh release upload $TAGNAME /tmp/ubuntu_amd64_${TAG_NAME}.zip
78+
gh release create $TAG_NAME -t "$TAG_NAME}" -n "$TAG_NAME"
79+
gh release upload $TAG_NAME /tmp/ubuntu_amd64_${TAG_NAME}.zip

.github/workflows/windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: |
8383
export TAG_NAME=${{ github.event.release.tag_name }}
8484
export TAG_NAME=${TAG_NAME:-"nightly"}
85+
echo $TAG_NAME
8586
mv /tmp/macos_${{ matrix.job.arch }}_${{ github.event.release.tag_name }}.zip /tmp/windows_${{ matrix.job.arch }}_${TAG_NAME}.zip
86-
gh release create $TAGNAME -t "$TAGNAME}" -n "$TAGNAME"
87-
gh release upload $TAGNAME /tmp/windows_${{ matrix.job.arch }}_${TAG_NAME}.zip
87+
gh release create $TAG_NAME -t "$TAG_NAME}" -n "$TAG_NAME"
88+
gh release upload $TAG_NAME /tmp/windows_${{ matrix.job.arch }}_${TAG_NAME}.zip

0 commit comments

Comments
 (0)