This commit is contained in:
parent
b515695935
commit
90ae94aa12
2 changed files with 18 additions and 11 deletions
|
@ -19,18 +19,25 @@ jobs:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
|
||||||
- name: Install BaseX
|
- name: Download BaseX
|
||||||
run: |
|
run: |
|
||||||
wget https://files.basex.org/releases/10.7/BaseX107.zip
|
BASEX_VERSION="11.7" # Example version (adjust as needed)
|
||||||
unzip BaseX107.zip -d /usr/local/
|
# Remove dots from version for filename (e.g., "11.7" → "117")
|
||||||
echo "BASEX_ROOT=/usr/local/basex" >> $GITHUB_ENV
|
BASEX_CLEAN_VERSION="${BASEX_VERSION//./}"
|
||||||
echo "PATH=$PATH:/usr/local/basex/bin" >> $GITHUB_ENV
|
wget https://files.basex.org/releases/$BASEX_VERSION/BaseX$BASEX_CLEAN_VERSION.zip -O BaseX.zip
|
||||||
|
|
||||||
- name: Verify PATH
|
- name: Unzip BaseX
|
||||||
|
run: |
|
||||||
|
sudo unzip BaseX.zip -d /opt/
|
||||||
|
rm BaseX.zip
|
||||||
|
|
||||||
|
- name: Add BaseX to PATH
|
||||||
|
run: |
|
||||||
|
echo "/opt/basex/bin" >> $GITHUB_PATH
|
||||||
|
echo "BASEX_HOME=/opt/basex" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Verify BaseX installation
|
||||||
run: |
|
run: |
|
||||||
echo path: $PATH$
|
|
||||||
echo basex: $BASEX_ROOT
|
|
||||||
echo ""
|
|
||||||
basex -c "SHOW OPTIONS"
|
basex -c "SHOW OPTIONS"
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
30/1/2025.................
|
30/1/2025.................
|
||||||
..lgnfjfggfgxhcsxwnndccxcxx
|
..lgnfjfggfgxhcsxwnndccxcxx
|
||||||
c
|
c
|
||||||
X
|
Xy
|
Loading…
Add table
Reference in a new issue