Skip to content

Commit

Permalink
remove unnecessary distinction in verify CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
larsk21 committed Dec 2, 2024
1 parent ad00d6f commit 68d3ce5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@ jobs:
cache: 'maven'

- name: Verify build
if: matrix.os != 'ubuntu-latest'
run: >
./mvnw clean verify
--batch-mode
--update-snapshots
--no-transfer-progress
- name: Verify build with Sonar
if: matrix.os == 'ubuntu-latest'
run: >
./mvnw clean verify
--batch-mode
Expand All @@ -52,7 +43,7 @@ jobs:
- name: Stage build results (Unix)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
run: mkdir staging-${{ matrix.os }} && find . -path '*/target/*.jar' -exec cp {} staging-${{ matrix.os }}/ \;

- name: Stage build results (Windows)
if: matrix.os == 'windows-latest'
run: mkdir staging-${{ matrix.os }} && gci -Path . -Recurse -Include *.jar |? { $_.FullName -like '*\target\*.jar' } |% { cp $_.FullName staging-${{ matrix.os }} }
Expand Down

0 comments on commit 68d3ce5

Please sign in to comment.