mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 03:47:13 +02:00
init
This commit is contained in:
parent
7ea74b38e8
commit
359133d00f
8
.github/workflows/maven-publish.yml
vendored
8
.github/workflows/maven-publish.yml
vendored
@ -33,11 +33,6 @@ jobs:
|
||||
- name: Build with Maven
|
||||
run: mvn -U -B clean package --file pom.xml
|
||||
|
||||
- name: Publish to GitHub Packages Repo
|
||||
run: mvn deploy
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }} # GITHUB_TOKEN is the default env for the password
|
||||
|
||||
- name: Set up Apache Maven Central (Overwrite settings.xml)
|
||||
uses: actions/setup-java@v3
|
||||
with: # running setup-java again overwrites the settings.xml
|
||||
@ -52,9 +47,6 @@ jobs:
|
||||
|
||||
|
||||
- name: Publish to GitHub Packages Apache Maven
|
||||
# run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ github.token }}
|
||||
run: cat /home/runner/.m2/settings.xml && mvn deploy -s /home/runner/.m2/settings.xml
|
||||
env:
|
||||
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user