Skip to content

Commit 5cfb928

Browse files
Modify artifact name and clean up build.yml
1 parent 0d26832 commit 5cfb928

1 file changed

Lines changed: 1 addition & 28 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -27,32 +27,5 @@ jobs:
2727
- name: Upload Jar Artifact
2828
uses: actions/upload-artifact@v4
2929
with:
30-
name: ProxyPlayerNotify-${{ github.sha }}
30+
name: ProxyPlayerNotify-jar
3131
path: target/*.jar
32-
33-
release:
34-
if: startsWith(github.ref, 'refs/tags/v')
35-
needs: build
36-
runs-on: ubuntu-latest
37-
steps:
38-
- name: Checkout
39-
uses: actions/checkout@v4
40-
41-
- name: Set up JDK 17
42-
uses: actions/setup-java@v4
43-
with:
44-
distribution: temurin
45-
java-version: '17'
46-
cache: maven
47-
48-
- name: Build with Maven
49-
run: mvn -B -DskipTests package
50-
51-
- name: Create GitHub Release
52-
uses: softprops/action-gh-release@v2
53-
with:
54-
files: |
55-
target/*.jar
56-
env:
57-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-

0 commit comments

Comments
 (0)