Skip to content

Commit b7ec483

Browse files
committed
refactor: remove jitpack & publish on dispatch
1 parent 740db97 commit b7ec483

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ jobs:
3333
run: ./gradlew build
3434

3535
- name: Upload to maven
36-
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main'
36+
if: github.event_name == 'workflow_dispatch'
3737
env:
3838
CI: true
3939
VERSION: ${{ github.event.inputs.version || '1.0-SNAPSHOT' }}
4040
GITHUB_TOKEN: ${{ secrets.PACKAGE_SECRET }}
41-
JITPACK_TOKEN: ${{ secrets.JITPACK_TOKEN }}
4241
GITHUB_USERNAME: ${{ github.repository_owner }}
4342
GITHUB_REPOSITORY: ${{ github.repository }}
4443
run:

build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,6 @@ publishing {
7777
url = "https://maven.pkg.github.com/${owner}/${repository}"
7878
}
7979

80-
maven {
81-
82-
name = "JitPack"
83-
url = "https://jitpack.io"
84-
85-
credentials {
86-
username = 'jitpack'
87-
password = System.getenv('JITPACK_TOKEN')
88-
}
89-
90-
}
91-
9280
}
9381

9482
}

0 commit comments

Comments
 (0)