Skip to content

Commit

Permalink
Fix git actions on smoke tests
Browse files Browse the repository at this point in the history
Related Issue: #3091
  • Loading branch information
dulanjalidilmi committed Feb 1, 2024
1 parent f4eeb03 commit 11deccb
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Smoke Tests (OpenJDK8)
name: Smoke Tests (JDK11)

on: [push, pull_request]

Expand All @@ -12,25 +12,27 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: joschi/setup-jdk@v2
uses: actions/setup-java@v1
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: '11.0.12+7'
- name: Build with Maven
run: mvn -B clean install -P smoke-tests --file pom.xml -fae
windows:

runs-on: windows-latest

steps:
- name: Support longpaths
run: git config --system core.longpaths true
- name: Configure Git to support long paths
run: git config --global core.longpaths true
- name: Verify Git configuration for long paths
run: git config --global core.longpaths
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: joschi/setup-jdk@v2
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: '11.0.12+7'
- name: Build with Maven
run: mvn -B clean install -P smoke-tests --file pom.xml -fae

0 comments on commit 11deccb

Please sign in to comment.