Skip to content

Commit 4a34019

Browse files
committed
modify release workflow to delete sources jar
1 parent 9173538 commit 4a34019

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ jobs:
2828

2929
- name: Build
3030
run: ./gradlew build
31+
32+
- name: Delete sources file
33+
run: rm -f build/lib/discordwebhook-*-sources.jar
3134

3235
- name: Create GitHub Release
3336
uses: softprops/action-gh-release@v2
3437
with:
3538
tag_name: ${{ github.ref_name }}
36-
files: build/libs/discordwebhook-[0-9]*.jar
39+
files: build/libs/discordwebhook-*.jar
3740
env:
3841
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)