1
0
mirror of https://gitea.com/gitea/act synced 2026-05-06 01:37:48 +02:00
Files
act/pkg/runner/testdata/local-action-dockerfile/push.yml
2021-11-12 15:21:18 -08:00

19 lines
507 B
YAML

name: local-action-dockerfile
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./actions/docker-local
id: dockerlocal
with:
who-to-greet: 'Mona the Octocat'
- run: '[[ "${{ env.SOMEVAR }}" == "Mona the Octocat" ]]'
- run: '[ "${SOMEVAR}" = "Not Mona" ] || exit 1'
env:
SOMEVAR: 'Not Mona'
- run: '[[ "${{ steps.dockerlocal.outputs.whoami }}" == "Mona the Octocat" ]]'
- uses: ./localdockerimagetest_