Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Janet731 committed Apr 9, 2024
1 parent 443c8ff commit 056430d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/dbRunner/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ runs:
run: |
wget https://github.com/IGinX-THU/IGinX/archive/refs/heads/main.zip
unzip main.zip
pwd
- if: inputs.DB-name=='InfluxDB'
name: Run DB
Expand Down Expand Up @@ -55,7 +56,7 @@ runs:
name: Run DB
shell: bash
run: |
cp -f "${GITHUB_WORKSPACE}/IGinX-main/conf/config.properties" "${GITHUB_WORKSPACE}/IGinX-main/conf/config.properties.bak"
cp -f "IGinX-main/conf/config.properties" "IGinX-main/conf/config.properties.bak"
if [[ "$RUNNER_OS" == "Linux" || "$RUNNER_OS" == "Windows" ]]; then
chmod +x "${GITHUB_WORKSPACE}/.github/scripts/dataSources/parquet_linux_windows.sh"
"${GITHUB_WORKSPACE}/.github/scripts/dataSources/parquet_linux_windows.sh" 6667 6888 test/mn test/iginx_mn false false conf/config.properties
Expand Down Expand Up @@ -89,7 +90,7 @@ runs:
name: Run DB
shell: bash
run: |
cp -f "${GITHUB_WORKSPACE}/IGinX-main/conf/config.properties" "${GITHUB_WORKSPACE}/IGinX-main/conf/config.properties.bak"
cp -f "IGinX-main/conf/config.properties" "IGinX-main/conf/config.properties.bak"
if [[ "$RUNNER_OS" == "Linux" || "$RUNNER_OS" == "Windows" ]]; then
chmod +x "${GITHUB_WORKSPACE}/.github/scripts/dataSources/filesystem_linux_windows.sh"
"${GITHUB_WORKSPACE}/.github/scripts/dataSources/filesystem_linux_windows.sh" 6667 6888 test/mn test/iginx_mn false false conf/config.properties
Expand Down

0 comments on commit 056430d

Please sign in to comment.