Skip to content

Commit

Permalink
Merge pull request #3095 from dulanjalidilmi/master-git-actions-smoke
Browse files Browse the repository at this point in the history
Fix git actions on smoke tests
  • Loading branch information
dulanjalidilmi authored Feb 1, 2024
2 parents 1de7673 + 11deccb commit 2f3f2d6
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 2f3f2d6

Please sign in to comment.