chore: Add allenvs flags

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2023-07-23 09:47:38 +08:00
parent a01d3ea1df
commit 5d52212216
3 changed files with 19 additions and 1 deletions

View file

@ -198,6 +198,21 @@ jobs:
echo "I am $BAR, thanks"
echo "I am $TEST_AAA, thanks"
- name: custom envs format
uses: ./
env:
INPUT_FOO: "BAR"
INPUT_AAA: "BBB"
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
allenvs: true
script: |
echo "I am $INPUT_FOO, thanks"
echo "I am $INPUT_AAA, thanks"
testing03:
name: git clone and pull
runs-on: ubuntu-latest
@ -245,3 +260,4 @@ jobs:
script_stop: true
script: |
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin