Skip to content

Commit 64f4f75

Browse files
committed
fix
1 parent 3493397 commit 64f4f75

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,7 @@ jobs:
3939
EOF
4040
ls
4141
- name: Publish package
42-
run: mvn --batch-mode deploy -s settings.xml
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
45-
- name: Build with Maven
46-
run: mvn -B package --file pom.xml
47-
- name: Publish to GitHub Packages Apache Maven
48-
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
42+
run: mvn deploy -s settings.xml
4943
env:
5044
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
5145

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
<configuration>
158158
<altDeploymentRepository>github::default::https://maven.pkg.github.com/Mryan2005/SimplifiedJava</altDeploymentRepository>
159159
</configuration>
160+
160161
</plugin>
161162
</plugins>
162163
</build>

0 commit comments

Comments
 (0)