ComenzarEmpieza gratis

Interpret GitHub Actions Workflow

The following GitHub Actions workflow prints the value of mathematical constant pi using the command line calculator bc in the runners shell.

name: Print Pi Workflow
on:
  push:
    branches: [ "master" ]
jobs:
  print-pi-job:
    runs-on: macos-latest
    steps:
      - name: Print Pi Step
        run: |
          echo pi=`echo "4*a(1)" | bc -l`

Este ejercicio forma parte del curso

CI/CD for Machine Learning

Ver curso

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio