2f395475b0
* feat: load every environment from --env-file to workflow * fix: pass dotenv's environments through by context * updates to support --secret-file Co-authored-by: Casey Lee <cplee@nektos.com>
17 lines
448 B
YAML
17 lines
448 B
YAML
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
|