mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-11-04 14:25:33 +08:00
chore(deps): update dependencies (#1351)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
This commit is contained in:
6
act/runner/testdata/defaults-run/main.yaml
vendored
6
act/runner/testdata/defaults-run/main.yaml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
without-defaults:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo $SHELL | grep -v bash || exit 1
|
||||
- run: '[ -z ${BASH+x} ] || shopt -oq posix || exit 1'
|
||||
with-defaults:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
working-directory: /tmp
|
||||
steps:
|
||||
- run: |
|
||||
echo $SHELL | grep bash || exit 1
|
||||
[ -n ${BASH+x} ] && ! shopt -oq posix || exit 1
|
||||
[ $(pwd) = /tmp ] || exit 2
|
||||
override-in-step:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -25,5 +25,5 @@ jobs:
|
||||
run:
|
||||
shell: bash
|
||||
steps:
|
||||
- run: echo $SHELL | grep -v bash || exit 1
|
||||
- run: '[ -z ${BASH+x} ] || shopt -oq posix || exit 1'
|
||||
shell: sh
|
||||
|
||||
6
act/runner/testdata/shells/sh/push.yml
vendored
6
act/runner/testdata/shells/sh/push.yml
vendored
@@ -10,13 +10,13 @@ jobs:
|
||||
steps:
|
||||
- shell: ${{ env.MY_SHELL }}
|
||||
run: |
|
||||
if [ -z ${BASH+x} ]; then
|
||||
if [ -z ${BASH+x} ] || shopt -oq posix; then
|
||||
echo "I'm sh!"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
- run: |
|
||||
if [ -z ${BASH+x} ]; then
|
||||
if [ -z ${BASH+x} ] || shopt -oq posix; then
|
||||
echo "I'm sh!"
|
||||
else
|
||||
exit 1
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
steps:
|
||||
- shell: ${{ env.MY_SHELL }}
|
||||
run: |
|
||||
if [ -z ${BASH+x} ]; then
|
||||
if [ -z ${BASH+x} ] || shopt -oq posix; then
|
||||
echo "I'm sh!"
|
||||
else
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user