Skip to content

Commit

Permalink
RE-168 Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Relluem94 committed Mar 12, 2024
1 parent 5c23c6c commit 9b5f296
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file pom.xml -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
run: mvn --batch-mode deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
12 changes: 2 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,13 @@
<repository>
<id>github</id>
<name>Relluem94s</name>
<url>https://maven.pkg.github.com/Relluem94s/*</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>true</enabled></releases>
<url>https://maven.pkg.github.com/Relluem94s/RelluLib</url>
</repository>
</repositories>
<profiles>
<profile>
<id>github</id>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>github</id>
<name>RelluLib</name>
Expand All @@ -80,7 +72,7 @@
<dependency>
<groupId>de.relluem94</groupId>
<artifactId>rellulib</artifactId>
<version>0.15</version>
<version>0.16</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 9b5f296

Please sign in to comment.