Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/01-building-blocks.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 01 - Building Blocks
on: push
on: workflow_dispatch

jobs:
echo-hello:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/02-workflow-events.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
name: 02 - Workflow Events
on:
push:
pull_request:
schedule:
- cron: "*/5 0 * * *"
# Cron expression
# 6개는 optional인데, github actions에서는 5까지만 가능
# 매분 은 매 5분부터 supporting됨
workflow_dispatch:
# enables manual trigger from clicking UI

Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/03-workflow-runers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 03 - Workflow Runners

on: workflow_dispatch
jobs:
ubuntu-echo:
runs-on: ubuntu-latest
steps:
- name: Show OS
run: |
echo "This job is running on an Ubuntu runner."
echo "Runner OS: $RUNNER_OS"
# Linux environment variable syntax
windows-echo:
runs-on: windos-latest
steps:
- name: Show OS
shell: bash
# windows powershell에서 environment variable syntax가
# $VARIABLE이 아니기 때문에 shell을 bash로 바꿔주는 것
# → 각 OS의 shell에 맞는 script문법을 써야합니다
run: |
echo "This job is running on an Windows runner."
echo "Runner OS: $RUNNER_OS"
mac-echo:
runs-on: macos-latest
steps:
- name: Show OS
run: |
echo "This job is running on an MacOs runner."
echo "Runner OS: $RUNNER_OS"