Skip to content

Caller

Caller #9

name: Caller
on:
workflow_dispatch:
inputs:
environment:
type: choice
options:
- development
- staging
- production
jobs:
job_environment:
runs-on: ubuntu-latest
environment: ${{github.event.inputs.environment}}
steps:
- id: api
run: echo "API_URL=${{vars.API_URL}}" >> $GITHUB_OUTPUT
- id: log
run: echo "LOG_LEVEL=${{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 }}"