MulaiMulai sekarang secara 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`

Latihan ini adalah bagian dari kursus

CI/CD for Machine Learning

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga