LoslegenKostenlos loslegen

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`

Diese Übung ist Teil des Kurses

CI/CD for Machine Learning

Kurs anzeigen

Interaktive Übung

Setze die Theorie in einer unserer interaktiven Übungen in die Praxis um

Übung starten