Skip to content

Update dependency gradle from 8.10.1 to 8.10.2 #17

Update dependency gradle from 8.10.1 to 8.10.2

Update dependency gradle from 8.10.1 to 8.10.2 #17

Workflow file for this run

---
name: Build CI
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
concurrency:
# Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.
# On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.
group: ${{ github.ref == 'refs/heads/main' && format('build-ci-main-{0}', github.sha) || format('build-ci-{0}', github.ref) }}
cancel-in-progress: true
env:
GRADLE_OPTS: -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false
jobs:
build-and-test:
name: Build CLI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set variables
id: setvars
run: |
version=$(sed -n 's,palantir-version = "\(.*\)",\1,p' gradle/libs.dependencies.toml)
echo "palantir_version=$version" >> $GITHUB_OUTPUT
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21
cache: gradle
- name: Build palantir cli ${{ github.event.inputs.palantir_version }}
run: |
./gradlew build -S --warning-mode all --no-daemon
env:
PALANTIR_VERSION: ${{ steps.setvars.outputs.palantir_version }}
- name: Test palantir cli ${{ github.event.inputs.palantir_version }}
run: |
java -jar build/libs/palantir-cli-*-standalone.jar
env:
PALANTIR_VERSION: ${{ steps.setvars.outputs.palantir_version }}