Skip to content

changelog

changelog #184

Workflow file for this run

name: Maven Package
on: ["release", "push", "pull_request"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install TypeScript Compiler
run: npm install -g [email protected]
- name: Setup Repo credentials
uses: s4u/[email protected]
- name: Build Shesmu with Maven
run: mvn -B package --file pom.xml
- name: Build Shesmu JavaDoc with Maven
run: 'mvn javadoc:javadoc -pl shesmu-pluginapi --file pom.xml && mv shesmu-pluginapi/target/site/apidocs docs/javadoc'
- name: Build Jekyll Documentation
uses: actions/jekyll-build-pages@v1
with:
source: docs
verbose: true
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
- name: Build and Push Docker images
if: ${{ github.event_name == 'release' }}
uses: macbre/push-to-ghcr@master
with:
image_name: ${{ github.repository }}
github_token: ${{ secrets.GITHUB_TOKEN }}
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
steps:
- name: Upload Pages artifact
if: ${{ github.event_name == 'release' }}
uses: actions/deploy-pages@v4