Skip to content

Commit 8e4fce4

Browse files
authored
work please
1 parent 31ef43b commit 8e4fce4

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed
Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Build and Release JAR
1+
name: Build JAR on Every Commit
22

33
on:
44
push:
55
branches:
6-
- main
6+
- main
77

88
jobs:
99
build:
@@ -17,14 +17,7 @@ jobs:
1717
uses: actions/setup-java@v3
1818
with:
1919
distribution: 'temurin'
20-
java-version: '21'
20+
java-version: '21'
2121

2222
- name: Build with Maven
2323
run: mvn clean package
24-
25-
- name: Upload JAR to GitHub Release
26-
uses: softprops/action-gh-release@v1
27-
with:
28-
files: target/*.jar
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)