Compare commits

..

No commits in common. "4497b7a76cd7e16b165da82eff90eff348609df0" and "0fc09df10defeebd37c3a832699b37cdc6658bcb" have entirely different histories.

View file

@ -3,19 +3,14 @@
name: Maven Package
run-name: Release run ${{ github.run_number }} view
on:
push:
branches: [ master ]
pull_request:
schedule:
- cron: "0 3 * * *"
release:
types: [created]
jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -26,16 +21,8 @@ jobs:
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Cache the Maven packages to speed up build
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.8.1
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml