Skip to content

fix deploy

fix deploy #5

on:
push:
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: false
timeout-minutes: 60
permissions:
packages: write
steps:
- uses: actions/checkout@v2
with:
ref: v1.1.23-cdk
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Publish
run: mvn --batch-mode -P github --file pom.xml deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}