Skip to content

Commit 6892d1c

Browse files
committed
disable download & upload latest release into artifact if new builds not found
1 parent b25fd97 commit 6892d1c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/testing.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
push_options: --force
109109

110110
- name: Download release file
111+
if: steps.set-matrix.outputs.matrix != '[]'
111112
id: download-release
112113
env:
113114
GH_TOKEN: ${{ github.token }}
@@ -120,6 +121,7 @@ jobs:
120121
echo "latest_release=$LATEST_TAG" >> "$GITHUB_OUTPUT"
121122
122123
- name: Upload release file as artifact
124+
if: steps.set-matrix.outputs.matrix != '[]'
123125
uses: actions/upload-artifact@v4
124126
with:
125127
name: release-jar

0 commit comments

Comments
 (0)