Skip to content

Commit e6dd5c6

Browse files
committed
chore: use environment variable again
1 parent 1b9ef96 commit e6dd5c6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,14 @@ runs:
9393
shell: powershell
9494
- name: Run
9595
run: >-
96+
$eventPath = Split-Path -Path "${env:GITHUB_EVENT_PATH}" -Parent;
97+
9698
docker run
9799
${{ steps.settings.outputs.default_environment_variables }}
98100
${{ steps.settings.outputs.extra_args }}
99101
--rm
100102
--memory=${{ inputs.memory }}
101-
-v C:\a\_temp\_github_workflow:C:\a\_temp\_github_workflow
103+
-v $eventPath:$eventPath
102104
-v ${{ steps.settings.outputs.workspace_path }}:${{ steps.settings.outputs.mapping_path }}
103105
-w ${{ steps.settings.outputs.work_path }}
104106
${{ inputs.image }}

0 commit comments

Comments
 (0)