CommencerCommencer gratuitement

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`

Cet exercice fait partie du cours

CI/CD for Machine Learning

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice