Skip to content

Commit

Permalink
reorder lucene-snapshot publish commands
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Walter Knize <[email protected]>
  • Loading branch information
nknize committed Feb 15, 2024
1 parent 72c847d commit 79a2d90
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/lucene-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ jobs:
- name: Cat settings.xml
run: cat ~/.m2/settings.xml

- name: Checkout build repo
uses: actions/checkout@v4
with:
repository: lucenia/build
ref: main
path: lucenia-build

- name: Copy settings.xml
run: |
cp lucenia-build/maven/settings.xml ~/.m2/
cat ~/.m2/settings.xml
- name: Checkout Lucene
uses: actions/checkout@v4
with:
Expand All @@ -52,18 +64,6 @@ jobs:
working-directory: ./lucene
run: ./gradlew publishJarsPublicationToMavenLocal -Pversion.suffix=snapshot-${{ steps.version.outputs.REVISION }}

- name: Checkout build repo
uses: actions/checkout@v4
with:
repository: lucenia/build
ref: main
path: lucenia-build

- name: Copy settings.xml
run: |
# cp lucenia-build/maven/settings.xml ~/.m2/
ls ~/.m2
- name: Publish lucene snapshot to github packages
env:
USERNAME: ${{github.actor}}
Expand Down

0 comments on commit 79a2d90

Please sign in to comment.