We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As I feel GITHUB_WORKSPACE should correspond to working-directory. But it does not. And we have no GITHUB_WORKDIR env variable.
My current workflow looks like:
build-iroha-windows: runs-on: windows-latest defaults: run: shell: bash working-directory: &workdir 'C:\github\iroha' ## Use disk C: because D: is out of space steps: - name: create working-directory run: set -x; mkdir -p "$workdir"; echo $PWD working-directory: 'C:\' env: { workdir: *workdir } - name: Checkout uses: actions/checkout@v2 with: path: *workdir
Here you can see YAML anchors. They are dereferenced with yq eval 'explode(.)'
yq eval 'explode(.)'
All scripts runs in C:\github\iroha, so I also would like to checkout to that directory.
C:\github\iroha
Add preference path to checkout to:
if with:path is relative, than try to be relative to job:defaults:run:working-directory(if not empty) before GITHUB_WORKSPACE
with:path
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As I feel GITHUB_WORKSPACE should correspond to working-directory. But it does not. And we have no GITHUB_WORKDIR env variable.
My current workflow looks like:
Here you can see YAML anchors. They are dereferenced with
yq eval 'explode(.)'
All scripts runs in
C:\github\iroha
, so I also would like to checkout to that directory.Suggestion
Add preference path to checkout to:
if
with:path
is relative, than try to be relative to job:defaults:run:working-directory(if not empty) before GITHUB_WORKSPACEThe text was updated successfully, but these errors were encountered: