Skip to content

Update dependency gradle to v8.3 #570

Update dependency gradle to v8.3

Update dependency gradle to v8.3 #570

Workflow file for this run

name: CI
on:
pull_request:
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
~/.konan
key: ${{ runner.os }}-build-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-
- run: ./gradlew check jacocoTestReport
- run: ./gradlew assembleGitHubPages
- run: |
set -o xtrace
if [ ! -z "${{ secrets.SIGNING_KEY }}" ]; then
./gradlew \
-PVERSION_NAME="unspecified" \
-PsigningInMemoryKey="${{ secrets.SIGNING_KEY }}" \
-PsigningInMemoryKeyPassword="${{ secrets.SIGNING_PASSWORD }}" \
publishToMavenLocal
else
./gradlew \
-PVERSION_NAME="unspecified" \
-PRELEASE_SIGNING_ENABLED=false \
publishToMavenLocal
fi
if: ${{ runner.os == 'macOS' && github.repository_owner == 'JuulLabs' }}
- uses: codecov/codecov-action@v3
- run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties