From 7f480c78795c08818bd05c4436cda324cfcae8a5 Mon Sep 17 00:00:00 2001 From: Matt Mumm Date: Wed, 23 Oct 2024 15:12:31 -0700 Subject: [PATCH] updating lesson --- .github/workflows/dependent_jobs.yaml | 19 +++++++++++++++++++ .github/workflows/hello_mumm.yaml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/dependent_jobs.yaml diff --git a/.github/workflows/dependent_jobs.yaml b/.github/workflows/dependent_jobs.yaml new file mode 100644 index 0000000..bb42402 --- /dev/null +++ b/.github/workflows/dependent_jobs.yaml @@ -0,0 +1,19 @@ +name: dependent jobs +on: [push] +jobs: + fake_build: + runs-on: ubuntu-latest + steps: + - run: | + echo "Fake build" + sleep 10 + name: Fake build + + fake_test: + runs-on: ubuntu-latest + needs: fake_build + steps: + - run: | + echo "Fake test" + sleep 10 + name: Fake test \ No newline at end of file diff --git a/.github/workflows/hello_mumm.yaml b/.github/workflows/hello_mumm.yaml index 48eac4a..a038cb2 100644 --- a/.github/workflows/hello_mumm.yaml +++ b/.github/workflows/hello_mumm.yaml @@ -1,5 +1,5 @@ name: first test -on: [workflow_dispatch, push, pull_request, issues] +on: [workflow_dispatch] jobs: first_hello_mumm: runs-on: ubuntu-latest