33 lines
662 B
YAML
33 lines
662 B
YAML
|
name: Test BaseX Installation
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
paths:
|
||
|
- ".gitea/workflows/trigger/release"
|
||
|
|
||
|
jobs:
|
||
|
test-basex:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout repository
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Set up Java
|
||
|
uses: actions/setup-java@v4
|
||
|
with:
|
||
|
distribution: "temurin"
|
||
|
java-version: "17"
|
||
|
|
||
|
- name: Install BaseX
|
||
|
uses: ./.github/actions/install-basex
|
||
|
with:
|
||
|
basex-version: '11.7' # Specify the BaseX version here
|
||
|
|
||
|
- name: Run BaseX command
|
||
|
run: |
|
||
|
basex --version
|