diff --git a/.github/actions/testing-action/action.yml b/.github/actions/testing-action/action.yml index b80cdbe..cb68492 100644 --- a/.github/actions/testing-action/action.yml +++ b/.github/actions/testing-action/action.yml @@ -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" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62fa935..c815fc4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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!" \ No newline at end of file + message: "Hello from reusable workflow!" + + remote-reusable-workflow: + uses: xXkoshmarikXx/reusable-workflow-test/workflows/main.yml@master + with: + message: "Hello from remote reusable workflow!" \ No newline at end of file diff --git a/.github/workflows/reusable-workflow.yml b/.github/workflows/reusable-workflow.yml index cb247b0..6e6dce3 100644 --- a/.github/workflows/reusable-workflow.yml +++ b/.github/workflows/reusable-workflow.yml @@ -1,5 +1,4 @@ name: Reusable Workflow - on: workflow_call: inputs: