Merge branch 'main' of https://github.com/redkale/redkale
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
# separate terms of service, privacy policy, and support
|
# separate terms of service, privacy policy, and support
|
||||||
# documentation.
|
# documentation.
|
||||||
|
|
||||||
name: Maven CI
|
name: Maven Check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
31
.github/workflows/maven_snapshot.yml
vendored
Normal file
31
.github/workflows/maven_snapshot.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: Maven Snapshot
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
java: [11]
|
||||||
|
name: Java ${{ matrix.java }} building ...
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up Java ${{ matrix.java }}
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: ${{ matrix.java }}
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: maven
|
||||||
|
server-id: sonatype-nexus-snapshots
|
||||||
|
server-username: MAVEN_USERNAME
|
||||||
|
server-password: MAVEN_PASSWORD
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn -B deploy --file pom.xml -DdisableXmlReport=true -Djacoco.skip=true -Dpmd.skip=true
|
||||||
|
env:
|
||||||
|
MAVEN_USERNAME: ${{ secrets.OSSRHUSERNAME }}
|
||||||
|
MAVEN_PASSWORD: ${{ secrets.OSSRHPASSWORD }}
|
||||||
Reference in New Issue
Block a user