Skip to content

Commit 75c2682

Browse files
Merge pull request #4 from gabriel-logan/main
chore: Update Maven publish workflow to use global settings file
2 parents e2028bb + 5417d86 commit 75c2682

File tree

2 files changed

+30
-56
lines changed

2 files changed

+30
-56
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ jobs:
2828
settings-path: ${{ github.workspace }} # location for the settings.xml file
2929

3030
- name: Build with Maven
31-
working-directory: ./packages/java
3231
run: mvn -B package --file pom.xml
3332

3433
- name: Publish to GitHub Packages Apache Maven
35-
working-directory: ./packages/java
36-
run: mvn deploy -s $GITHUB_WORKSPACE/packages/java/settings.xml
34+
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
3735
env:
3836
GITHUB_TOKEN: ${{ github.token }}

.idea/workspace.xml

Lines changed: 29 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)