Skip to content

Chendingpan patch 2

Chendingpan patch 2 #5

Workflow file for this run

name: Build and Release
on:

Check failure on line 3 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
push:
tags:
- 'v*.*.*' # 仅在推送标签时触发
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Build with Maven
run: mvn clean package
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: target/*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}