Skip to content

Commit deccea2

Browse files
added working directory for target clean
1 parent 0f67dc2 commit deccea2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tasks/dbt-apply/action.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ runs:
3535
- name: Clean target
3636
shell: pwsh
3737
run: |
38-
if(Test-Path -Path ".\target\partial_parse.msgpack" -PathType Leaf) {
39-
Remove-Item -Path ".\target\partial_parse.msgpack" -Force
38+
if(Test-Path -Path "partial_parse.msgpack") {
39+
Remove-Item -Path "partial_parse.msgpack" -Force
4040
}
41-
if(Test-Path -Path ".\target\graph.gpickle" -PathType Leaf) {
42-
Remove-Item -Path ".\target\graph.gpickle" -Force
41+
if(Test-Path -Path "graph.gpickle") {
42+
Remove-Item -Path "graph.gpickle" -Force
4343
}
44+
working-directory: ${{ inputs.working-directory }}/target
4445

4546
- name: Run DBT without Unit-tets
4647
if: inputs.target != 'unit-test'

0 commit comments

Comments
 (0)