Skip to content

Commit

Permalink
missing 'distribution', add upload-artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Dec 19, 2023
1 parent 21f1764 commit c2b23f5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/jpos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}
cache: 'gradle'
- name: Cache Gradle packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Expand All @@ -29,7 +31,18 @@ jobs:
run: ./gradlew jpos:check --info
env:
TERM: dumb
- name: Upload test results
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: test-results
path: jpos/build/reports/tests/*
- name: Dependency Check Analyze
run: ./gradlew jpos:dependencyCheckAnalyze --info
env:
TERM: dumb
- name: Dependency Check Analyze
run: ./gradlew jpos:dependencyCheckAnalyze --info
env:
TERM: dumb

0 comments on commit c2b23f5

Please sign in to comment.