Skip to content

Commit c8378ed

Browse files
authored
Update api-tests.yml
1 parent b6af584 commit c8378ed

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/api-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
API-Test:
13-
runs-on: ubuntu-latest
13+
runs-on: windows-latest
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v3
@@ -24,11 +24,14 @@ jobs:
2424
${{ runner.os }}-maven-
2525
2626
- name: Set up Java and Maven
27-
uses: actions/setup-java@v3
27+
uses: actions/setup-java@v2
2828
with:
2929
distribution: "temurin"
3030
java-version: "11"
3131

32+
- name: Install Maven
33+
run: choco install maven
34+
3235
- name: Run tests with Maven
3336
env:
3437
CLIENT_ID: ${{ secrets.CLIENT_ID }}
@@ -41,7 +44,7 @@ jobs:
4144

4245
- name: Upload Allure Report as artifact
4346
if: always()
44-
uses: actions/upload-artifact@v3
47+
uses: actions/upload-artifact@v2
4548
with:
4649
name: AllureReport
4750
path: target/site/allure-maven-plugin/

0 commit comments

Comments
 (0)