This commit is contained in:
parent
83cf8fc6b9
commit
4dc12ed3bd
3 changed files with 10 additions and 10 deletions
|
@ -1,12 +1,12 @@
|
||||||
name: 'Install BaseX'
|
name: "Install BaseX"
|
||||||
description: 'Install BaseX on a GitHub Actions runner, assumes Java already installed'
|
description: "Install BaseX on a GitHub Actions runner, assumes Java already installed"
|
||||||
inputs:
|
inputs:
|
||||||
basex-version:
|
basex-version:
|
||||||
description: 'The version of BaseX to install (e.g., 11.7)'
|
description: "The version of BaseX to install (e.g., 11.7)"
|
||||||
required: true
|
required: true
|
||||||
default: '11.7'
|
default: "11.7"
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Download BaseX
|
- name: Download BaseX
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -16,7 +16,7 @@ runs:
|
||||||
wget https://files.basex.org/releases/$BASEX_VERSION/BaseX$BASEX_CLEAN_VERSION.zip -O BaseX.zip
|
wget https://files.basex.org/releases/$BASEX_VERSION/BaseX$BASEX_CLEAN_VERSION.zip -O BaseX.zip
|
||||||
|
|
||||||
- name: Unzip BaseX
|
- name: Unzip BaseX
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
unzip BaseX.zip -d $HOME
|
unzip BaseX.zip -d $HOME
|
||||||
echo "rm"
|
echo "rm"
|
||||||
|
@ -26,10 +26,10 @@ runs:
|
||||||
- name: Add BaseX to PATH
|
- name: Add BaseX to PATH
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "BASEX_ROOT=$HOME/basex" >> $GITHUB_ENV
|
echo "BASEX_ROOT=$HOME/basex" >> $GITHUB_ENV
|
||||||
echo "PATH=$PATH:$HOME/basex/bin" >> $GITHUB_ENV
|
echo "PATH=$PATH:$HOME/basex/bin" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Verify BaseX installation
|
- name: Verify BaseX installation
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
basex declare option output:indent 'yes';db:system()
|
basex "declare option output:indent 'yes';db:system()"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
aabcdeggx
|
aabcdeggxc
|
Loading…
Add table
Reference in a new issue