Skip to content

Commit

Permalink
use env
Browse files Browse the repository at this point in the history
  • Loading branch information
benlee0423 committed Feb 16, 2024
1 parent e9f696a commit 3d8fcd8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/action_templates/build-and-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ inputs:
platform:
description: 'The platform to build'
required: false
env:
test_data_path: ${{vars.TEST_DATA_PATH}}

runs:
using: "composite"
Expand Down Expand Up @@ -59,8 +61,8 @@ runs:
- name: Test
shell: bash
run: |
rm -rf ${{vars.TEST_DATA_PATH}}/*.csv
rm -rf ${{vars.TEST_DATA_PATH}}/*.parquet
rm -rf ${{vars.TEST_DATA_PATH}}/outputs/*
# rm -rf ${{vars.TEST_DATA_PATH}}/*.csv
# rm -rf ${{vars.TEST_DATA_PATH}}/*.parquet
rm -rf ${{env.test_data_path}}/outputs/*
docker run --rm -v /home/ubuntu/workspace/AWI_03W_113060_003:/ngen/ngen/data awiciroh/${{ inputs.image-name}}:${{ env.TAG_NAME}} /ngen/ngen/data auto
if: inputs.image-name == 'ciroh-ngen-image'

0 comments on commit 3d8fcd8

Please sign in to comment.