1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-05 18:40:59 +00:00

fix: set sh as default shell for containers (#853)

* fix: set default shell for containers to sh

This matches GitHub Actions behaviour where,
runners use bash since it's guaranteed to exist there
while containers use sh for compatibility

* tests: fixup for default shell
This commit is contained in:
Ryan 2021-11-03 19:47:47 +01:00 committed by GitHub
parent 9f5df5e527
commit f09a90bf80
8 changed files with 76 additions and 3 deletions

View file

@ -1,6 +1,10 @@
name: container-hostname
on: push
defaults:
run:
shell: bash
jobs:
with-hostname:
runs-on: ubuntu-latest