diff --git a/.github/actions/print-custom-message/action.yaml b/.github/actions/print-custom-message/action.yaml index e40686c..36123b1 100644 --- a/.github/actions/print-custom-message/action.yaml +++ b/.github/actions/print-custom-message/action.yaml @@ -9,6 +9,7 @@ inputs: runs: using: composite + steps: - name: Print Message Step 1 run: echo "Custom input say => ${{ inputs.INPUT_TEXT_1 }}!" diff --git a/.github/actions/print-messages/action.yaml b/.github/actions/print-messages/action.yaml index b3262a0..84eba0f 100644 --- a/.github/actions/print-messages/action.yaml +++ b/.github/actions/print-messages/action.yaml @@ -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" diff --git a/.github/actions/run-sleep/action.yaml b/.github/actions/run-sleep/action.yaml index 149d2ca..bf668f4 100644 --- a/.github/actions/run-sleep/action.yaml +++ b/.github/actions/run-sleep/action.yaml @@ -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..." diff --git a/.github/actions/use-shell-script/action.yaml b/.github/actions/use-shell-script/action.yaml index 17697dc..3ceb06f 100644 --- a/.github/actions/use-shell-script/action.yaml +++ b/.github/actions/use-shell-script/action.yaml @@ -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" diff --git a/.github/workflows/11-0-action-fail.yaml b/.github/workflows/11-0-action-fail.yaml index 85e3843..9b081c9 100644 --- a/.github/workflows/11-0-action-fail.yaml +++ b/.github/workflows/11-0-action-fail.yaml @@ -20,4 +20,13 @@ jobs: - name: Fail Job Step 1 run: | echo "This job will fail with a non-zero exit code." - exit 1 \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/6-1-workflow-call.yaml b/.github/workflows/6-1-workflow-call.yaml index 026eb1e..6ab5d75 100644 --- a/.github/workflows/6-1-workflow-call.yaml +++ b/.github/workflows/6-1-workflow-call.yaml @@ -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: diff --git a/.github/workflows/8-0-inputs.yaml b/.github/workflows/8-0-inputs.yaml index 9c63fa5..7a1cfd6 100644 --- a/.github/workflows/8-0-inputs.yaml +++ b/.github/workflows/8-0-inputs.yaml @@ -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: