Update pipeline.yml #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pipeline | |
on: | |
push: | |
# schedule: | |
# - cron: "*/6 * * * *" | |
workflow_dispatch: | |
jobs: | |
scripts-job: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo "MY_NAME=gonzalo" >> "$GITHUB_ENV" | |
echo "Hola $GITHUB_ACTOR" | |
cat $GITHUB_ENV | |
- run: | | |
echo "name: $MY_NAME" | |
cat << EOF | |
El sistema operativo de esta ejecución es: $RUNNER_OS | |
Quien hizo el commit fue: $GITHUB_ACTOR que tiene ID de Github: $GITHUB_ACTOR_ID | |
El ID del commit fue: $GITHUB_SHA | |
El repositorio GitHub relacionado a esta ejecución es : $GITHUB_REPOSITORY | |
El dueño de este repositorio es $GITHUB_REPOSITORY_OWNER | |
Estaba en la rama: $GITHUB_REF_NAME" | |
El archivo donde se guardan las variables marcadas como Output para este Step es $GITHUB_OUTPUT | |
EOF | |
echo "Creando un OUTPUT" | |
echo "MY_URL=https://boolean.cl" >> $GITHUB_OUTPUT | |
echo "+++++++++++++++++++++++" | |
echo "Valores OUTPUT" | |
cat $GITHUB_OUTPUT |