Skip to content

Commit 4b82c23

Browse files
committed
fix(ci): correct upload binaries
1 parent dbd910a commit 4b82c23

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/cpack-deb-debian.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
path: build/${{ steps.get_package.outputs.NAME }}
7878
- name: Upload binaries to release
7979
uses: svenstaro/upload-release-action@v1-release
80-
if: github.event_name == 'release'
80+
if: startsWith(github.event.ref, 'refs/tags/')
8181
with:
8282
repo_token: ${{ secrets.GITHUB_TOKEN }}
8383
file: build/${{ steps.get_package.outputs.NAME }}

.github/workflows/linux-static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
path: lemon
8080
- name: Upload binaries to release
8181
uses: svenstaro/upload-release-action@v1-release
82-
if: github.event_name == 'release'
82+
if: startsWith(github.event.ref, 'refs/tags/')
8383
with:
8484
repo_token: ${{ secrets.GITHUB_TOKEN }}
8585
file: lemon

.github/workflows/sourcefile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
path: Lemon-${{ steps.get_version.outputs.VERSION }}-source-all.7z
4848
- name: Upload binaries to release
4949
uses: svenstaro/upload-release-action@v1-release
50-
if: github.event_name == 'release'
50+
if: startsWith(github.event.ref, 'refs/tags/')
5151
with:
5252
repo_token: ${{ secrets.GITHUB_TOKEN }}
5353
file: Lemon-${{ steps.get_version.outputs.VERSION }}-source-all.7z

makespec/BUILDVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
225
1+
226

0 commit comments

Comments
 (0)