Merge branch 'TRCStudioDean:master' into master #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Maven build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
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: Build with Maven | |
run: mvn package --file pom.xml | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
if: success() | |
with: | |
name: LiteSignIn | |
path: target/LiteSignIn.jar | |
- name: Automatic Releases | |
uses: marvinpinto/[email protected] | |
if: success() | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "dev" | |
prerelease: false | |
title: "LiteSignIn 自动构建版本" | |
files: | | |
target/LiteSignIn.jar | |