Skip to content

Commit

Permalink
Merge branch 'main' into split-ci-jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
larsk21 authored Dec 2, 2024
2 parents d20d8cb + ae7c603 commit 24c0920
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ jobs:
--update-snapshots
--no-transfer-progress
- name: Stage build results
run: mkdir staging-${{ matrix.os }} && cp **/target/*.jar staging-${{ matrix.os }}/
- 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 }} }

- name: Upload build results
uses: actions/[email protected]
Expand Down

0 comments on commit 24c0920

Please sign in to comment.