GitHub Actions ワークフローを読み解く
次の GitHub Actions ワークフローは、ランナーのシェル上でコマンドライン電卓 bc を使って数学定数 pi の値を出力します。
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`
この演習はコースの一部です
