-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 950 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "windows"
on: [pull_request,workflow_dispatch]
jobs:
build:
name: "build"
runs-on: windows-latest
timeout-minutes: 10
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Validate Gradle Wrapper"
uses: gradle/wrapper-validation-action@v2
- name: "Set up JDK 17"
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
- name: "Build with Gradle"
uses: gradle/gradle-build-action@v3
with:
arguments: build
- name: "Generate Allure Report"
uses: gradle/gradle-build-action@v3
if: always()
with:
arguments: allureAggregateReport
- name: "Publish Allure Report"
uses: actions/upload-artifact@v4
if: always()
with:
name: windows-latest
path: "build/reports/allure-report/allureAggregateReport/index.html"