Skip to content

docs: Update README.md #56

docs: Update README.md

docs: Update README.md #56

Workflow file for this run

name: Releases
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: windows-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK and Maven
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'
- name: Build executable
shell: powershell
run: |
sh bin/deploy-windows.sh
sh bin/deploy-windows.sh jre
sh bin/deploy-macos.sh
- name: Create Release
uses: ncipollo/release-action@v1
with:
# 表示要上传到 Release 的产出文件。这可能是单个路径或以逗号分隔的路径列表(或 globs)
artifacts: "out/*"
token: ${{ secrets.GITHUB_TOKEN }}