Skip to content

Merge pull request #5 from UncleXie123/change-123 #24

Merge pull request #5 from UncleXie123/change-123

Merge pull request #5 from UncleXie123/change-123 #24

Workflow file for this run

name: CI/CD
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build
run: ./gradlew build
- name: Query
run: ./gradlew owlQuery
- name: Upload
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: build
path: build/