diff --git a/.github/workflows/fourthworkflow.yml b/.github/workflows/fourthworkflow.yml new file mode 100644 index 0000000..5637356 --- /dev/null +++ b/.github/workflows/fourthworkflow.yml @@ -0,0 +1,28 @@ +name: Fourth workflow (Job Status) + +on: + workflow_dispatch + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Build step + run: echo "Building project..." + + test: + runs-on: ubuntu-latest + needs: build # 👈 runs only after build + + steps: + - name: Test step + run: echo "Running tests..." + + deploy: + runs-on: ubuntu-latest + needs: test # 👈 runs only after test + + steps: + - name: Deploy step + run: echo "Deploying project..." diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..9daeafb --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +test