mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #772] [MERGED] Add proper support for working-directory & fix command builder #1599
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1599
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/772
Author: @catthehacker
Created: 8/9/2021
Status: ✅ Merged
Merged: 8/10/2021
Merged by: @mergify[bot]
Base:
master← Head:cat/fix/workdir📝 Commits (5)
6c04f95fix: align other Docker executors to print action66ae3a9fix: formatting981379cfix: add proper workdir support4363f1dfix: replace script filepath after slice creatione2557b0fix: match substring so it works for pwsh📊 Changes
6 files changed (+76 additions, -36 deletions)
View changed files
📝
pkg/container/docker_run.go(+33 -15)📝
pkg/runner/run_context.go(+4 -3)📝
pkg/runner/step_context.go(+16 -12)📝
pkg/runner/testdata/basic/push.yml(+1 -0)➕
pkg/runner/testdata/dir with spaces/push.yml(+7 -0)📝
pkg/runner/testdata/workdir/push.yml(+15 -6)📄 Description
changelog:
working-directory:is set through Docker now instead of addingcd %sto script/, it replaces workdir during that exec/, merge with current workdirInfologlevel, when pulling (big) images this should let user know what is currently happening (currently it doesn't show anything about pull without verbose option)Fixes https://github.com/nektos/act/issues/211
Fixes https://github.com/nektos/act/issues/748
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.