Skip to content
Open
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/03-core-features--01-hello-world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
say-hello-inline-bash:
runs-on: ubuntu-24.04
steps:
- run: echo "Hello from an inline bash script in a GitHub Action Workflow!"
- run: echo "This is my new GitHub Action Workflow!"
11 changes: 6 additions & 5 deletions .github/workflows/03-core-features--02-step-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ jobs:
say-hello-inline-bash:
runs-on: ubuntu-24.04
steps:
- run: echo "Hello from an inline bash script in a GitHub Action Workflow!"
- run: echo "New features in the GitHub Action Workflow!"

say-hello-inline-python:
runs-on: ubuntu-24.04
steps:
- run: print("Hello from an inline python script in a GitHub Action Workflow!")
- run: print("This is a python script in a GitHub Action Workflow!")
shell: python

say-hello-action:
runs-on: ubuntu-24.04
steps:
- uses: actions/hello-world-javascript-action@081a6d193d1dcb38460df1e6927486d748730f9d # v1.1
# - uses: actions/hello-world-javascript-action@v1 # This would work, but it would be less stable and less secure:
- uses: actions/hello-world-javascript-action@v1 # use the published v1 tag (resolvable and stable)
# NOTE: pinning to a published tag (e.g. @v1) ensures the action resolves.
# If you need a specific commit, verify the SHA exists in the action repo and use that instead.
with:
who-to-greet: "from an action in the GitHub Action marketplace! 👋"
who-to-greet: "from an action in the GitHub Action marketplace Thank you! 👋"
12 changes: 6 additions & 6 deletions .github/workflows/03-core-features--03-workflows-jobs-steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ jobs:
job-1:
runs-on: ubuntu-24.04
steps:
- run: echo "A job consists of"
- run: echo "one or more steps"
- run: echo "which run sequentially"
- run: echo "within the same compute environment"
- run: echo "Groot - A (Java)"
- run: echo "Groot - B (Python)"
- run: echo "Groot - B (.NET)"
- run: echo "Groot - B (PHP)"
job-2:
runs-on: ubuntu-24.04
steps:
- run: echo "Multiple jobs can run in parallel"
- run: echo "Multiple programming languages can be used in different jobs"
job-3:
runs-on: ubuntu-24.04
needs:
- job-1
- job-2
steps:
- run: echo "They can also depend on one another..."
- run: echo "The jobs can have dependencies on each other..."
job-4:
runs-on: ubuntu-24.04
needs:
Expand Down
1 change: 1 addition & 0 deletions 03-core-features/filters/included-file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ok
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This course is made possible thanks to [namespace.so](https://namespace.so/?utm_

1. **Clone this repository (including submodules)**
```bash
git clone --recurse-submodules git@github.com:sidpalas/devops-directive-github-actions-course.git
git clone --recurse-submodules git@github.com:narendra1416/devops-directive-github-actions-course.git
```

2. **Install DevBox** – DevBox bootstraps all required CLI tools (Go, Node.js, Python, `act`, `task`, `npc`, `civo`, `gh`, `jq`, `yq`, `kubectl`, `kluctl`, ...).
Expand Down