github.com/nektos/act@v0.2.63-0.20240520024548-8acde99bfa9c/pkg/runner/testdata/shells/python/push.yml (about)

     1  on: push
     2  env:
     3    MY_SHELL: python
     4  jobs:
     5    check:
     6      runs-on: ubuntu-latest
     7      steps:
     8        - shell: ${{ env.MY_SHELL }}
     9          run: |
    10            import platform
    11            print(platform.python_version())
    12    check-container:
    13      runs-on: ubuntu-latest
    14      container: node:16-buster
    15      steps:
    16        - shell: ${{ env.MY_SHELL }}
    17          run: |
    18            import platform
    19            print(platform.python_version())
    20    check-job-default:
    21      runs-on: ubuntu-latest
    22      defaults:
    23        run:
    24          shell: ${{ env.MY_SHELL }}
    25      steps:
    26        - run: |
    27            import platform
    28            print(platform.python_version())