Skip to content

Commit 29925a4

Browse files
committed
Use github wildcard repository url
1 parent 6525444 commit 29925a4

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/pr_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
distribution: 'temurin'
3939
java-version: 17
4040

41+
- name: Configure Maven Settings
42+
43+
with:
44+
servers: '[{"id": "github", "username": "streamnativebot", "password": "${{ secrets.SNBOT_GITHUB_TOKEN }}"}]'
45+
4146
- name: License check
4247
run: mvn license:check
4348

pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,11 @@
368368
<url>https://s01.oss.sonatype.org/service/local/repositories/iostreamnative-3083/content</url>
369369
</repository>
370370
<repository>
371-
<id>snapshot</id>
372-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
371+
<id>github</id>
372+
<url>https://maven.pkg.github.com/streamnative/*</url>
373+
<snapshots>
374+
<enabled>true</enabled>
375+
</snapshots>
373376
</repository>
374377

375378
<repository>

0 commit comments

Comments
 (0)