Skip to content

Commit

Permalink
Move upload-artifact outside of the container
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
  • Loading branch information
prudhvigodithi committed Nov 7, 2024
1 parent 3ec460a commit ac05401
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,27 @@ jobs:
chown -R 1000:1000 `pwd`
su `id -un 1000` -c "./gradlew build && ./gradlew publishToMavenLocal"
- name: Cache Build
id: cache-build
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/build/reports/
key: ${{ github.sha }}-your-cache-key

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: restore-build
with:
path: ${{ github.workspace }}/build/reports/
key: ${{ github.sha }}-your-cache-key

- name: Upload Coverage Report
uses: codecov/codecov-action@v3
with:
Expand All @@ -59,7 +80,6 @@ jobs:
path: |
./build/reports/
build-job-scheduler-MacOS:
strategy:
fail-fast: false
Expand Down

0 comments on commit ac05401

Please sign in to comment.