Skip to content

Bump dependencies and bring FIT SDK into 2024. #67

Bump dependencies and bring FIT SDK into 2024.

Bump dependencies and bring FIT SDK into 2024. #67

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Gradle Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
clean: false
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew clean build test shadowJar --stacktrace
- name: Upload build reports
uses: actions/upload-artifact@v3
with:
name: test-report
path: kotlin-fit-converter-lib/build/reports/tests/test
- name: Publish Package
env:
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: publish