Skip to content

Commit 737d9f3

Browse files
committed
Fix repo name and mvn command in the workflow
1 parent 39c61d2 commit 737d9f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/snapshot-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
packages: write
1313
steps:
1414
- uses: actions/checkout@v4
15-
- name: Setup Java 17 # demo requires java 17
15+
- name: Setup Java 17 # demo requires java 17
1616
uses: actions/setup-java@v3
1717
with:
1818
java-version: '17'
@@ -24,7 +24,7 @@ jobs:
2424
<settings>
2525
<servers>
2626
<server>
27-
<id>repsy</id>
27+
<id>repsy-snapshots</id>
2828
<username>${{ secrets.REPSY_USERNAME }}</username>
2929
<password>${{ secrets.REPSY_PASSWORD }}</password>
3030
</server>
@@ -37,7 +37,7 @@ jobs:
3737
echo "Detected version: $VERSION"
3838
if [[ $VERSION == *"SNAPSHOT"* ]]; then
3939
echo "Deploying snapshot version: $VERSION"
40-
mvn -B deploy
40+
mvn deploy -U -B
4141
else
4242
echo "Skipping deploy for release version: $VERSION"
4343
fi

0 commit comments

Comments
 (0)