Skip to content

Commit

Permalink
created jobs without depends
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitu092 committed Dec 7, 2024
1 parent 9b49643 commit 4664cf0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/jobs-withoutdepends.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Jobs withoit depends

on:
push:
branches:
- main

jobs:
job2:
runs-on: ubuntu-latest
steps:
- name: stepA
run echo "Chaitu"

job1:
runs-on:ubuntu-latest
steps:
- name: stepB
run echo "Hi"
2 changes: 1 addition & 1 deletion .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
needs: job1
steps:
- name: step1
- name: stepA
run: echo "Saiii"
job1:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4664cf0

Please sign in to comment.