summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/secrets/push.yml
blob: e91619742aeee362af01d5c1b9e5ed8f6b9dd27e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: basic
on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - run: |
          echo '${{secrets.MY_SECRET}}' | grep 'top-secret'
      - run: |
          echo "${{secrets.MULTILINE_SECRET}}" | wc -l | grep 3
      - run: |
          echo '${{secrets.JSON_SECRET}}' | grep "{\"foo\": \"bar\"}"
      - run: |
          echo '${{env.HELLO}}' | grep "WORLD"
      - run: |
          echo "${{env.MULTILINE_ENV}}" | wc -l | grep 3