feat: GitHub actions

This commit is contained in:
hstyi
2025-01-16 17:31:53 +08:00
committed by GitHub
parent 5d459f9b0d
commit 992015c8e5
4 changed files with 131 additions and 0 deletions

29
.github/workflows/windows-x86-64.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Windows x86-64
on: [ push, pull_request ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Installing Java
uses: actions/setup-java@v4
with:
distribution: 'jetbrains'
java-version: '21'
# dist
- run: |
.\gradlew.bat dist --no-daemon
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: termora-windows-x86-64
path: |
build/distributions/*.zip
build/distributions/*.msi