18 lines
359 B
YAML
18 lines
359 B
YAML
name: second
|
|
run-name: variable test
|
|
on: push
|
|
jobs:
|
|
print-variables_asd:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
env:
|
|
SECRET5: ${{ secrets.SECRET1 }}
|
|
- run: |
|
|
if [ -n "$SECRET5" ]; then
|
|
echo "secret is here"
|
|
else
|
|
echo "secret missing"
|
|
exit 1
|
|
fi
|
|
- run: echo ${{github.action}}
|