Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 46 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,37 @@ jobs:
chown -R 1000:1000 `pwd`
su `id -un 1000` -c "./gradlew build && ./gradlew publishToMavenLocal"

- name: Save Reports
id: linux-save-reports
uses: actions/cache/save@v3
with:
path: ${{ github.workspace }}/build/reports/
key: ${{ github.sha }}-linux-reports-${{ matrix.java }}

upload-linux-artifacts:
needs: build-job-scheduler-linux
runs-on: ubuntu-latest
strategy:
matrix:
java: [21, 23]
if: always()
steps:
- uses: actions/cache/restore@v4
id: linux-restore-reports
with:
path: ${{ github.workspace }}/build/reports/
key: ${{ github.sha }}-linux-reports-${{ matrix.java }}

- name: Upload Coverage Report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: linux-JDK${{ matrix.java }}-reports
path: |
./build/reports/

path: ${{ github.workspace }}/build/reports/

build-job-scheduler-MacOS:
strategy:
Expand Down Expand Up @@ -127,14 +146,34 @@ jobs:
run: |
./gradlew.bat publishToMavenLocal

- name: Save Reports
id: windows-save-reports
uses: actions/cache/save@v3
with:
path: ${{ github.workspace }}/build/reports/
key: ${{ github.sha }}-windows-reports-${{ matrix.java }}

upload-windows-artifacts:
needs: build-job-scheduler-Windows
runs-on: windows-latest
strategy:
matrix:
java: [21, 23]
if: always()
steps:
- uses: actions/cache/restore@v4
id: windows-restore-reports
with:
path: ${{ github.workspace }}/build/reports/
key: ${{ github.sha }}-windows-reports-${{ matrix.java }}

- name: Upload Coverage Report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: windows-JDK${{ matrix.java }}-reports
path: |
./build/reports/
path: ${{ github.workspace }}/build/reports/
Loading