Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
xXkoshmarikXx committed Aug 27, 2024
1 parent cc7b80e commit 1cd70d8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/actions/testing-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ inputs:
required: true
default: "World"
message:
description: "A custom message to print"
description: 'Message to print'
required: true
default: "meow"

runs:
using: "composite"
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,19 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run Echo Greeting Action
uses: ./.github/actions/testing-action
with:
name: 'koshmarik'

# Job to call the composite action
call-combined-composite-action:
runs-on: ubuntu-latest
steps:
- name: Run combined composite action
uses: ./.github/actions/testing-action
with:
message: "Welcome to our project"
name: "koshmarik"
name1: "Welcome to our project"

# Job to call the reusable workflow
call-reusable-workflow:
uses: ./.github/workflows/reusable-workflow.yml
with:
name: "Hello from reusable workflow!"
message: "Hello from reusable workflow!"

remote-reusable-workflow:
uses: xXkoshmarikXx/reusable-workflow-test/workflows/main.yml@master
with:
message: "Hello from remote reusable workflow!"
1 change: 0 additions & 1 deletion .github/workflows/reusable-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Reusable Workflow

on:
workflow_call:
inputs:
Expand Down

0 comments on commit 1cd70d8

Please sign in to comment.