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
1 change: 1 addition & 0 deletions .github/actions/print-custom-message/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ inputs:

runs:
using: composite

steps:
- name: Print Message Step 1
run: echo "Custom input say => ${{ inputs.INPUT_TEXT_1 }}!"
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/print-messages/action.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: 01_Messages_Action
description: A GitHub Action that prints messages to the console.

runs:
using: composite

steps:
- name: Print Message Step 1
run: echo "Hello from Messages Action 01 Step 1"
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/run-sleep/action.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: 03_Sleep_Action
DEscription: A GitHub Action that sleeps for a specified duration.

runs:
using: composite

steps:
- name: Sleep Step 1
run: echo "Sleeping for 8 seconds..."
Expand Down
1 change: 1 addition & 0 deletions .github/actions/use-shell-script/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description: "Action to run a shell script file"

runs:
using: composite

steps:
- name: Run good-bye.sh File Step 1
run: bash "${{ github.action_path }}/good-bye.sh"
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/11-0-action-fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,13 @@ jobs:
- name: Fail Job Step 1
run: |
echo "This job will fail with a non-zero exit code."
exit 1
exit 1

continue_on_error_job:
runs-on: ubuntu-latest
steps:
- name: Fail Job Step 2
run: |
echo "This job will fail with a non-zero exit code, but continue by flagging it."
exit 1
continue-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/6-1-workflow-call.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Workflow_Call
description: "This workflow creates a reusable workflow that can be called by other workflows. Vide sample-8.yaml"
description: "This workflow creates a reusable workflow that can be called by other workflows. Vide 6-0-workflow-reusable.yaml"

on:
workflow_call:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/8-0-inputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ on:
- option 1
- option 2
- option 3
- option 4
- option 5
INPUT_ENVIRONMENT_1:
description: "Input environment value"
type: environment
required: true

jobs:
use_input_job:
Expand Down
Loading