diff --git a/.github/workflows/custom-action.yml b/.github/workflows/custom-action.yml deleted file mode 100644 index 7a87b53f1..000000000 --- a/.github/workflows/custom-action.yml +++ /dev/null @@ -1,15 +0,0 @@ -on: [push] - -jobs: - my-job: - runs-on: ubuntu-latest - name: A job to say hello - steps: - - name: Hello world action step - id: hello - uses: omenking/barsoom@0.0.6 - with: - name: 'Brown' - # Use the output from the `hello` step - - name: Get the Output - run: echo "The time was ${{ steps.hello.outputs.greeting }}" \ No newline at end of file diff --git a/.github/workflows/dependant.yml b/.github/workflows/dependant.yml new file mode 100644 index 000000000..8bb12590a --- /dev/null +++ b/.github/workflows/dependant.yml @@ -0,0 +1,17 @@ +name: Dependant jobs examle +on: [push] + +jobs: + job1: + runs-on: ubuntu-latest + name: Job A + steps: + - name: Step 1 + run: echo "World" + needs: job2 + job2: + runs-on: ubuntu-latest + name: Job B + steps: + - name: Step 2 + run: echo "HelLo " \ No newline at end of file