From 502df3be475ddce4c934630c28d7714d9d19e518 Mon Sep 17 00:00:00 2001 From: Dinmani Kumar Date: Mon, 27 Apr 2026 18:01:30 +0530 Subject: [PATCH 1/4] updated greeatings --- .github/workflows/03-core-features--02-step-types.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/03-core-features--02-step-types.yaml b/.github/workflows/03-core-features--02-step-types.yaml index 8abea6b1..a73defd6 100644 --- a/.github/workflows/03-core-features--02-step-types.yaml +++ b/.github/workflows/03-core-features--02-step-types.yaml @@ -21,4 +21,4 @@ jobs: - uses: actions/hello-world-javascript-action@081a6d193d1dcb38460df1e6927486d748730f9d # v1.1 # - uses: actions/hello-world-javascript-action@v1 # This would work, but it would be less stable and less secure: with: - who-to-greet: "from an action in the GitHub Action marketplace! 👋" + who-to-greet: "running an action in the GitHub Action marketplace" From 423c5ee0cfc15ff8f43204ffb8a80472cf43bff8 Mon Sep 17 00:00:00 2001 From: Dinmani Kumar Date: Mon, 27 Apr 2026 18:07:40 +0530 Subject: [PATCH 2/4] updated dependencies --- .github/workflows/03-core-features--02-step-types.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/03-core-features--02-step-types.yaml b/.github/workflows/03-core-features--02-step-types.yaml index a73defd6..c454ff02 100644 --- a/.github/workflows/03-core-features--02-step-types.yaml +++ b/.github/workflows/03-core-features--02-step-types.yaml @@ -11,6 +11,9 @@ jobs: say-hello-inline-python: runs-on: ubuntu-24.04 + needs: + - say-hello-action + - say-hello-inline-bash steps: - run: print("Hello from an inline python script in a GitHub Action Workflow!") shell: python From 0f9b1a48dfbfe10df6a3e8e8fdfbaaa202b78496 Mon Sep 17 00:00:00 2001 From: Dinmani Kumar Date: Fri, 1 May 2026 18:19:13 +0530 Subject: [PATCH 3/4] first exercise --- .github/workflows/ex01.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ex01.yaml diff --git a/.github/workflows/ex01.yaml b/.github/workflows/ex01.yaml new file mode 100644 index 00000000..ab8545cd --- /dev/null +++ b/.github/workflows/ex01.yaml @@ -0,0 +1,24 @@ +name: first_workflow + +on: + workflow_dispatch: + +jobs: + first_job: + runs-on: ubuntu-22.04 + steps: + - run: print("this is the first job written in python") + shell: python + + second_job: + runs-on: ubuntu-latest + steps: + - run: echo "Hey, this is the second job written in shell script" + + third_job: + runs-on: ubuntu-24.04 + needs: + - first_job + - second_job + steps: + - run: console.log("Hey, this is the third job written in javascript") \ No newline at end of file From c896ca73906470944fff7fcbe72b054a47411230 Mon Sep 17 00:00:00 2001 From: Dinmani Kumar Date: Fri, 1 May 2026 18:30:28 +0530 Subject: [PATCH 4/4] updated shell for javascript job --- .github/workflows/ex01.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ex01.yaml b/.github/workflows/ex01.yaml index ab8545cd..bc5752ef 100644 --- a/.github/workflows/ex01.yaml +++ b/.github/workflows/ex01.yaml @@ -21,4 +21,5 @@ jobs: - first_job - second_job steps: - - run: console.log("Hey, this is the third job written in javascript") \ No newline at end of file + - run: console.log("Hey, this is the third job written in javascript") + shell: node \ No newline at end of file