Skip to content

Commit 92c8c92

Browse files
committed
feat: publish maven ci
1 parent 64f0d18 commit 92c8c92

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build
33
on:
44
push:
55
branches:
6-
- main
6+
- ci
77

88
jobs:
99
build:
@@ -30,4 +30,12 @@ jobs:
3030
uses: actions/upload-artifact@v4
3131
with:
3232
name: Artifacts
33-
path: build/libs/*.jar
33+
path: build/libs/*.jar
34+
35+
- name: Upload to maven
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.PACKAGE_SECRET }}
38+
GITHUB_USERNAME: ${{ github.actor }}
39+
GITHUB_REPOSITORY: ${{ github.repository }}
40+
run:
41+
./gradlew publish --no-daemon --no-parallel --stacktrace --info

0 commit comments

Comments
 (0)