Skip to content

更新书源 url

更新书源 url #8

name: Releases
on:
push:
tags:
- 'v*'
jobs:
release-windows:
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.sh
sh bin/deploy.sh jre
- name: Create Release
uses: ncipollo/release-action@v1
with:
# 表示要上传到 Release 的产出文件。这可能是单个路径或以逗号分隔的路径列表(或 globs)
artifacts: "out/sonovel-win.tar.gz,out/sonovel-win-with-jre.tar.gz"
token: ${{ secrets.GITHUB_TOKEN }}