Skip to content

Commit c166204

Browse files
committed
chore: fixed nightly
Signed-off-by: Stephane Bouchet <[email protected]>
1 parent 0227446 commit c166204

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/checkout@v4
5757
with:
5858
ref: repository
59-
path: mvn-repo
59+
path: build/repository
6060

6161
- name: Deploy to Maven Repository
6262
env:
@@ -67,6 +67,7 @@ jobs:
6767
6868
git config --global user.email "[email protected]"
6969
git config --global user.name "GitHub Action Bot"
70-
mv build/repository mvn-repo
71-
git commit -am "Publish ${CURRENT_VERSION} (${{github.run_number}})"
70+
pushd build/repository
71+
git add snapshots/
72+
git commit -m "Publish ${CURRENT_VERSION} (${{github.run_number}})"
7273
git push -f origin repository

0 commit comments

Comments
 (0)