mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
38 lines
939 B
YAML
38 lines
939 B
YAML
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'
|
|
|
|
- uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
~/.gradle/caches
|
|
~/.gradle/wrapper
|
|
key: ${{ runner.os }}-${{ runner.arch }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-${{ runner.arch }}-gradle-
|
|
|
|
# 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 |