/
githubmirror
/
act
Обзор
Документация
Войти
/
githubmirror
/
act
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pkg/runner/testdata/local-action-dockerfile/push.yml
27 строк
817 B
ChristopherHX
Feature: uses in composite (#793)
22 дек 2021, 22:19
Не верифицирован
22 дек 2021, 22:19
9868e13
Код
Авторство
О чём код?
name: local-action-dockerfile on: push defaults: run: shell: bash 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" ]]' # Test if overriding args doesn't leak inputs - uses: ./actions/docker-local-noargs with: args: ${{format('"{0}"', 'Mona is not the Octocat') }} who-to-greet: 'Mona the Octocat' - run: '[[ "${{ env.SOMEVAR }}" == "Mona is not the Octocat" ]]' - uses: ./localdockerimagetest_