Inline bluetooth binding classes to allow using this binding without … #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and create release | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
build_oh4: | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '17' ] | |
maven: [ '3.9.4' ] | |
os: [ 'ubuntu-latest' ] | |
name: Build OH4 (Java ${{ matrix.java }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{matrix.java}} | |
distribution: 'temurin' | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ matrix.java }}-maven- | |
${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | |
- name: Build | |
run: mvn -P 'standalone' --batch-mode -DskipChecks -Doh.java.version=17 clean verify | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest_oh4" | |
prerelease: true | |
title: "Latest Build" | |
files: | | |
target/*.jar |