summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/secrets/push.yml
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runner/testdata/secrets/push.yml')
-rw-r--r--pkg/runner/testdata/secrets/push.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/runner/testdata/secrets/push.yml b/pkg/runner/testdata/secrets/push.yml
new file mode 100644
index 0000000..e916197
--- /dev/null
+++ b/pkg/runner/testdata/secrets/push.yml
@@ -0,0 +1,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