[mod] use action
This commit is contained in:
parent
309a48de90
commit
68a6b99b85
4 changed files with 8 additions and 28 deletions
6
.github/actions/install-basex/action.yaml
vendored
6
.github/actions/install-basex/action.yaml
vendored
|
|
@ -18,20 +18,16 @@ runs:
|
|||
- name: Unzip BaseX
|
||||
shell: bash
|
||||
run: |
|
||||
unzip BaseX.zip -d $HOME
|
||||
echo "rm"
|
||||
unzip BaseX.zip -d $HOME
|
||||
rm BaseX.zip
|
||||
echo "done"
|
||||
|
||||
- name: Add BaseX to PATH
|
||||
shell: bash
|
||||
run: |
|
||||
set -x # Enable debugging
|
||||
echo "BASEX_ROOT=$HOME/basex" >> $GITHUB_ENV
|
||||
echo "PATH=$PATH:$HOME/basex/bin" >> $GITHUB_ENV
|
||||
|
||||
- name: Verify BaseX installation
|
||||
shell: bash
|
||||
run: |
|
||||
set -x # Enable debugging
|
||||
basex "declare option output:indent 'yes';db:system()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue