fix: mount volume for workflow info (#776)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
e82f17e230
commit
3c1454825d
|
@ -82,6 +82,7 @@ func (rc *RunContext) GetBindsAndMounts() ([]string, map[string]string) {
|
||||||
|
|
||||||
mounts := map[string]string{
|
mounts := map[string]string{
|
||||||
"act-toolcache": "/toolcache",
|
"act-toolcache": "/toolcache",
|
||||||
|
name + "-env": ActPath,
|
||||||
}
|
}
|
||||||
|
|
||||||
if rc.Config.BindWorkdir {
|
if rc.Config.BindWorkdir {
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
echo "Hello $1"
|
echo "Hello $1"
|
||||||
time=$(date)
|
time=$(date)
|
||||||
echo ::set-output name=time::$time
|
echo ::set-output name=time::$time
|
||||||
|
|
||||||
|
echo "SOMEVAR=$1" >>$GITHUB_ENV
|
||||||
|
|
|
@ -9,4 +9,5 @@ jobs:
|
||||||
- uses: ./actions/docker-local
|
- uses: ./actions/docker-local
|
||||||
with:
|
with:
|
||||||
who-to-greet: 'Mona the Octocat'
|
who-to-greet: 'Mona the Octocat'
|
||||||
|
- run: '[[ "${{ env.SOMEVAR }}" == "Mona the Octocat" ]]'
|
||||||
- uses: ./localdockerimagetest_
|
- uses: ./localdockerimagetest_
|
||||||
|
|
Loading…
Reference in New Issue