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`
This exercise is part of the course
CI/CD for Machine Learning
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
