forked from Mirror/ollama4j
clean up
This commit is contained in:
parent
47c014968d
commit
5bd3573123
11
.github/workflows/maven-publish.yml
vendored
11
.github/workflows/maven-publish.yml
vendored
@ -40,7 +40,18 @@ jobs:
|
||||
server-password: MAVEN_PASSWORD
|
||||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE
|
||||
- name: Set up Maven cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
- name: Publish to GitHub Packages Apache Maven
|
||||
if: >
|
||||
github.event_name != 'pull_request' &&
|
||||
github.ref_name == 'main' &&
|
||||
contains(github.event.head_commit.message, '[release]')
|
||||
run: |
|
||||
git config --global user.email "koujalgi.amith@gmail.com"
|
||||
git config --global user.name "amithkoujalgi"
|
||||
|
Loading…
x
Reference in New Issue
Block a user