Skip to content

Caller

Caller #4

name: Caller
on:
workflow_dispatch:
inputs:
environment:
type: choice
options:
- development
- staging
- production
jobs:
job_environment:
runs-on: ubuntu-latest
environment: ${{inputs.environment}}
steps:
- name: api
run: echo "API_URL=${{vars.API_URL}}" >> $GITHUB_OUTPUT
- name: log
run: echo "API_URL=${{vars.LOG_LEVEL}}" >> $GITHUB_OUTPUT
- name: imprimir variables
run: |
echo "API_URL ${{steps.api.outputs.API_URL}}"
echo "LOG_LEVEL ${{steps.log.outputs.LOG_LEVEL}}"