fix: mount volume for workflow info (#776)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Ryan 2021-09-24 13:32:22 +00:00 committed by GitHub
parent e82f17e230
commit 3c1454825d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,7 @@ func (rc *RunContext) GetBindsAndMounts() ([]string, map[string]string) {
mounts := map[string]string{
"act-toolcache": "/toolcache",
name + "-env": ActPath,
}
if rc.Config.BindWorkdir {

View File

@ -3,3 +3,5 @@
echo "Hello $1"
time=$(date)
echo ::set-output name=time::$time
echo "SOMEVAR=$1" >>$GITHUB_ENV

View File

@ -9,4 +9,5 @@ jobs:
- uses: ./actions/docker-local
with:
who-to-greet: 'Mona the Octocat'
- run: '[[ "${{ env.SOMEVAR }}" == "Mona the Octocat" ]]'
- uses: ./localdockerimagetest_