Skip to content

Commit

Permalink
Merge pull request #777 from icerockdev/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex009 authored Sep 22, 2024
2 parents 4fefda5 + cec8905 commit 2c48480
Show file tree
Hide file tree
Showing 7 changed files with 154 additions and 162 deletions.
23 changes: 11 additions & 12 deletions .github/compilation-check-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,51 +12,50 @@ on:
- develop

.checkout: &checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

.setup_jdk: &setup_jdk
name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 17
distribution: zulu

.setup_gradle: &setup_gradle
name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/develop' }}

.publish_test_report: &publish_test_report
name: Publish Test Report
uses: mikepenz/action-junit-report@v2
uses: mikepenz/action-junit-report@v4
if: ${{ always() }}
with:
report_paths: '**/build/test-results/**/TEST-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}

.upload_reports: &upload_reports
name: Archive reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: code-coverage-report-${{ github.job }}
name: code-coverage-report-${{ github.job }}-${{ matrix.os }}
path: '**/build/reports/**/*'

.download_maven: &download_maven
name: Download maven artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: maven
path: ~/.m2/repository/dev/icerock

.cache_konan: &cache_konan
name: Cache .konan
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*', 'gradle/**/*') }}
restore-keys: |
${{ runner.os }}-konan-
key: ${{ matrix.os }}-konan-${{ hashFiles('**/*.gradle*', 'gradle/**/*') }}

.runner_matrix: &runner_matrix
os: [ macOS-latest, windows-latest, ubuntu-latest ]
Expand All @@ -82,7 +81,7 @@ jobs:
shell: bash

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: maven
path: ~/.m2/repository/dev/icerock
Expand Down
Loading

0 comments on commit 2c48480

Please sign in to comment.