File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,21 @@ runs:
45
45
with :
46
46
name : ${{ inputs.workflow-artifact-name }}
47
47
path : ${{ github.action_path }}/.tmp
48
+ - name : >-
49
+ Get a *NIX-style workspace directory absolute path
50
+ # NOTE: This is necessary because attempting to use ${{ github.workspace }}
51
+ # NOTE: in the `tar` command makes it error out under Windows workers. This
52
+ # NOTE: is supposedly happening because `shell: bash` uses Git Bash (v4)
53
+ # NOTE: and not MINGW Bash (v5) which does not have this problem.
54
+ id: workdir
55
+ run: echo "::set-output name=path::$(pwd)"
56
+ working-directory: ${{ github.workspace }}
57
+ shell: bash
48
58
- name : Get the source out of the tarball
49
59
run : >-
50
60
tar xzvf ${{ inputs.source-tarball-name }}
51
- --directory='${{ github.workspace }}' --strip-components=1
61
+ --directory='${{ steps.workdir.outputs.path }}'
62
+ --strip-components=1
52
63
working-directory : ${{ github.action_path }}/.tmp
53
64
shell : bash
54
65
You can’t perform that action at this time.
0 commit comments