Minor fixes. Update github actions.
This commit is contained in:
parent
305203d7af
commit
c3ed6d953e
7 changed files with 31 additions and 9 deletions
9
.github/workflows/snapshot.yml
vendored
9
.github/workflows/snapshot.yml
vendored
|
@ -1,10 +1,11 @@
|
|||
name: Snapshot
|
||||
|
||||
"on":
|
||||
workflow_dispatch: {}
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- '[1-9]+.[0-9]+.x'
|
||||
- main
|
||||
- '*.x'
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -32,9 +33,11 @@ jobs:
|
|||
- lint-yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v1
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
cache: maven
|
||||
server-id: sonatype-nexus
|
||||
server-username: SERVER_USERNAME
|
||||
server-password: SERVER_PASSWORD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue