diff options
author | Daniel Baumann <daniel@debian.org> | 2024-10-20 23:07:42 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-11-09 15:38:42 +0100 |
commit | 714c83b2736d7e308bc33c49057952490eb98be2 (patch) | |
tree | 1d9ba7035798368569cd49056f4d596efc908cd8 /pkg/runner/testdata/secrets/push.yml | |
parent | Initial commit. (diff) | |
download | forgejo-act-714c83b2736d7e308bc33c49057952490eb98be2.tar.xz forgejo-act-714c83b2736d7e308bc33c49057952490eb98be2.zip |
Adding upstream version 1.21.4.HEADupstream/1.21.4upstreamdebian
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'pkg/runner/testdata/secrets/push.yml')
-rw-r--r-- | pkg/runner/testdata/secrets/push.yml | 17 |
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 |