Skip to content

Added back new type. #581

Added back new type.

Added back new type. #581

Workflow file for this run

name: PR build
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@main
name: Verify semver label is set for this PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
mode: exactly
count: 1
labels: "patch, minor, major"
- uses: actions/checkout@v4
name: Checkout
- uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup Java 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: Test and build
run: ./gradlew test build
env:
ORG_GRADLE_PROJECT_githubUser: x-access-token
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}