Skip to content

Bump com.puppycrawl.tools:checkstyle from 10.18.1 to 10.18.2 #670

Bump com.puppycrawl.tools:checkstyle from 10.18.1 to 10.18.2

Bump com.puppycrawl.tools:checkstyle from 10.18.1 to 10.18.2 #670

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Github Pages Report
on:
push:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: |
mvn install:install-file -DgroupId="com.harukizaemon.simian" -DartifactId="simian" -Dversion="2.5.10" -Dpackaging=”jar” -Dfile="lib/simian-2.5.10.jar"
mvn clean package site
- name: Push to github pages
run: |
cd ./target/site
git config --global user.name "jiangxincode"
git config --global user.email "jiangxinnju@163.com"
git init
git add .
git commit -m "update gh-pages"
git push -f https://jiangxincode:${{secrets.GITHUB_TOKEN}}@github.com/jiangxincode/ApkToolBoxGUI.git master:gh-pages