From 0dd042b9ced17ab688019c66a9e128ac83017cb7 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Fri, 31 May 2024 00:25:43 +0530 Subject: [PATCH 01/32] Create Git_&_Github_Crash_Course.md --- Git_&_Github_Crash_Course.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Git_&_Github_Crash_Course.md diff --git a/Git_&_Github_Crash_Course.md b/Git_&_Github_Crash_Course.md new file mode 100644 index 00000000..58d41ae8 --- /dev/null +++ b/Git_&_Github_Crash_Course.md @@ -0,0 +1,12 @@ +1. Download and install Git on your system: https://git-scm.com/download + +2. Configuring Git + +After installing Git, you can also configure it - most importantly, you can set a username and email address that will be connected to all your code snapshots. + +- This can be done via: +``` +git config --global user.name "your-username" +git config --global user.email "your-email" +``` +You can learn more about Git's configuration options here: https://git-scm.com/docs/git-config From 7558b9da5a17928fb3eb08a9e897acc0539597a1 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Fri, 31 May 2024 00:58:16 +0530 Subject: [PATCH 02/32] Update Git_&_Github_Crash_Course.md --- Git_&_Github_Crash_Course.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Git_&_Github_Crash_Course.md b/Git_&_Github_Crash_Course.md index 58d41ae8..f604362f 100644 --- a/Git_&_Github_Crash_Course.md +++ b/Git_&_Github_Crash_Course.md @@ -10,3 +10,21 @@ git config --global user.name "your-username" git config --global user.email "your-email" ``` You can learn more about Git's configuration options here: https://git-scm.com/docs/git-config + +Incase to check all the git global configurations, hit: +``` +git config --list +``` + +And to know more about git commands or want to look into any specific git command, hit: +``` +git help +``` + +4. When you have some new code repo on your local system , so as a first step you should open a terminal and set the location to the repo's folder and then hit + + ``` + git int # this will intiallize the project in git by creating invisble .git folder + ``` + +5. Stagging files and creating commits From 2871adb66c561b8256d59bc66f7179a29a47cb92 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Fri, 31 May 2024 00:58:55 +0530 Subject: [PATCH 03/32] Update Git_&_Github_Crash_Course.md --- Git_&_Github_Crash_Course.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Git_&_Github_Crash_Course.md b/Git_&_Github_Crash_Course.md index f604362f..4d3a625f 100644 --- a/Git_&_Github_Crash_Course.md +++ b/Git_&_Github_Crash_Course.md @@ -21,10 +21,10 @@ And to know more about git commands or want to look into any specific git comman git help ``` -4. When you have some new code repo on your local system , so as a first step you should open a terminal and set the location to the repo's folder and then hit +3. When you have some new code repo on your local system , so as a first step you should open a terminal and set the location to the repo's folder and then hit ``` git int # this will intiallize the project in git by creating invisble .git folder ``` -5. Stagging files and creating commits +4. Stagging files and creating commits From 62068d39abb93a38bfbc61da1835841d5729bd56 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 00:15:44 +0530 Subject: [PATCH 04/32] Create Availability-&-Pricing --- Availability-&-Pricing | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Availability-&-Pricing diff --git a/Availability-&-Pricing b/Availability-&-Pricing new file mode 100644 index 00000000..9f2eabab --- /dev/null +++ b/Availability-&-Pricing @@ -0,0 +1,7 @@ +GitHub Actions: Availability & Pricing + +- In public repositories, you can use GitHub Actions for free. For private repositories, only a certain amount of monthly usage is available for free - extra usage on top must be paid. + +- The exact quotas and payment details depend on your GitHub plan, a detailed summary can be found here: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions + +- If you can't find an "Actions" tab in your GitHub repository, you can should enable them as described here: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository From 86a97ea10a7ddf072f03bb3dc865dcb2c515bec8 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 00:42:10 +0530 Subject: [PATCH 05/32] Create Running Multi-Line Shell Commands.md --- .../Running Multi-Line Shell Commands.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Code/02 Basics/01 First Workflow/Running Multi-Line Shell Commands.md diff --git a/Code/02 Basics/01 First Workflow/Running Multi-Line Shell Commands.md b/Code/02 Basics/01 First Workflow/Running Multi-Line Shell Commands.md new file mode 100644 index 00000000..4b0bc191 --- /dev/null +++ b/Code/02 Basics/01 First Workflow/Running Multi-Line Shell Commands.md @@ -0,0 +1,12 @@ +Thus far, you learned how to run simple shell commands like echo "Something" via run: echo "Something". + +If you need to run multiple shell commands (or multi-line commands, e.g., for readability), you can easily do so by adding the pipe symbol (|) as a value after the run: key. + +Like this: +``` +... +run: | + echo "First output" + echo "Second output" +``` +This will run both commands in one step. From 0b5bd687334b74d5143d0232bc7fdc39efd96648 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 00:57:41 +0530 Subject: [PATCH 06/32] Create README.md --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..21bd5cae --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Official Github Actions Doc: https://docs.github.com/en/actions From 4e17fed42598f9de3060d7e4b311181b7c0f4191 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 01:39:03 +0530 Subject: [PATCH 07/32] Update README.md --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 21bd5cae..c07f60c7 100644 --- a/README.md +++ b/README.md @@ -1 +1,29 @@ Official Github Actions Doc: https://docs.github.com/en/actions + +- On Github Marketplace we have two options: Apps and Actions: + - Here is Github Action Marketplace : https://github.com/marketplace?type=actions + +- Github Checkout Action: + - Repo: https://github.com/actions/checkout?tab=readme-ov-file + - Marketplace: https://github.com/marketplace/actions/checkout + + ``` + jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 #"actions/checkout" define the name and "v3" is the version of teh action + #we can also add more parameters to the checkout action with "with" command refer here: https://github.com/marketplace/actions/checkout#usage + ``` + + +

Errors

+ +1. **Error to push github actions worflow from local to github**: + + To have access to push Github Action workflows from local system to Github you need to have developer token which have access to not just repository but also to workflow, which you can create it from here: https://github.com/settings/tokens + + and tick the workflow aswell, as shown in below image: + + image From 641afc0da22530f842894c0cf479556355a35278 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 01:59:47 +0530 Subject: [PATCH 08/32] Update README.md --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c07f60c7..5c35f113 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -Official Github Actions Doc: https://docs.github.com/en/actions +- Basic Buidling blocks of Github Actions: +image + +- Official Github Actions Doc: https://docs.github.com/en/actions - On Github Marketplace we have two options: Apps and Actions: - Here is Github Action Marketplace : https://github.com/marketplace?type=actions @@ -17,13 +20,15 @@ Official Github Actions Doc: https://docs.github.com/en/actions #we can also add more parameters to the checkout action with "with" command refer here: https://github.com/marketplace/actions/checkout#usage ``` +- **Failing and Analysizing Workflows:** To understand any worflow or just to undestand if whats happening underthe worflow, always refer to the logfile of the workflow which is visible after your workflow executes under the "Actions" tab.

Errors

1. **Error to push github actions worflow from local to github**: - To have access to push Github Action workflows from local system to Github you need to have developer token which have access to not just repository but also to workflow, which you can create it from here: https://github.com/settings/tokens - - and tick the workflow aswell, as shown in below image: + To have access to push Github Action workflows from local system to Github you need to have "developer token" which have access to not just repository but also to workflow, which you can create it from here: https://github.com/settings/tokens (if there are other tokens as well remove them for you) and tick the workflow aswell, as shown in below image: image + + + Now you have createed new token using which you can push the github workflow to github.. From b6d5463bd8d2536b3f07b4a5e0b24b3d16217ada Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 16:44:23 +0530 Subject: [PATCH 09/32] Update README.md --- README.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c35f113..b23068d9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,57 @@ +

Github Actions Basic Building blocks and Components

+ - Basic Buidling blocks of Github Actions: image - + + - By Default each job run parallely and hence have its own runner. + ``` + job: + test: #job 1 + runs-on: ubuntu-latest #runner 1 + .. + .. + + deploy: #job 2 + runs-on: ubuntu-latest #runner 2 + .. + .. + ``` +- To make run jobs sequentially we have to just add "needs" + ``` + job: + test: #job 1 + runs-on: ubuntu-latest #runner 1 + .. + .. + + deploy: #job 2 + needs: test #"deploy" job needs "test" to execute first and if it fails, "deploy" job will not execute, which makes it sequential.. + runs-on: ubuntu-latest #runner 2 + .. + .. + ``` +- Multiple event triggers, add all the ways of trigger under "on" + ``` + name: Deploy Project + on: [push, workflow_dispatch] #here "push" means whenever pushing code, "workflow_dispatch" means manually running the work.. + jobs: + ``` +- Expression and Context Objects + ``` + name: Output information + on: workflow_dispatch + jobs: + info: + runs-on: ubuntu-latest + steps: + - name: Output GitHub context + run: echo "${{ toJSON(github) }}" #expression. to make it readbale wrapped with function "toJSON()" + ``` + - To know about Github Action Context objects: https://docs.github.com/en/actions/learn-github-actions/contexts + - Just like we used above exmaple "github" which is context object.. + - To know about Github Actions Expression/Function: https://docs.github.com/en/actions/learn-github-actions/expressions + - Just like we used above exmaple "${{ toJSON(github) }}" which is Expression.. + - Official Github Actions Doc: https://docs.github.com/en/actions - On Github Marketplace we have two options: Apps and Actions: @@ -22,7 +73,7 @@ - **Failing and Analysizing Workflows:** To understand any worflow or just to undestand if whats happening underthe worflow, always refer to the logfile of the workflow which is visible after your workflow executes under the "Actions" tab. -

Errors

+

Errors

1. **Error to push github actions worflow from local to github**: @@ -32,3 +83,9 @@ Now you have createed new token using which you can push the github workflow to github.. + + +

Summary: Github Actions Basic Building blocks and Components

+ +image + From 4822d275759f2d4294c191dc17d7e3f7fe5a838c Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 23:51:57 +0530 Subject: [PATCH 10/32] Update Git_&_Github_Crash_Course.md --- Git_&_Github_Crash_Course.md | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/Git_&_Github_Crash_Course.md b/Git_&_Github_Crash_Course.md index 4d3a625f..f97def0c 100644 --- a/Git_&_Github_Crash_Course.md +++ b/Git_&_Github_Crash_Course.md @@ -1,5 +1,8 @@ 1. Download and install Git on your system: https://git-scm.com/download +
+
+ 2. Configuring Git After installing Git, you can also configure it - most importantly, you can set a username and email address that will be connected to all your code snapshots. @@ -21,10 +24,79 @@ And to know more about git commands or want to look into any specific git comman git help ``` +
+
+
+
+ +

Git Commands

+
+
+
+
3. When you have some new code repo on your local system , so as a first step you should open a terminal and set the location to the repo's folder and then hit ``` git int # this will intiallize the project in git by creating invisble .git folder ``` + image + +
+
4. Stagging files and creating commits + image + + - these commits are created so that you can anytime go back to any of these commits.. + - from above image we learned + - **git add **: it will set the stage to commit + - Another way to stage all files at ones is "**git add .**" or "git add *" . Downside of this approach is that it add all the files in the repo which may include any unwanted files.. and so you can add ".gitignore" file and mention files which you want git to ignore and Hence now you can use "git add ." and it will add only the required files and ignore the unwanted files(refere point # 9) + - **git commit -m " ENTER YOUR MESSAGE HERE "**: it will commit the file(s) to github + - **git status**: it provide current status like is the file in stagging or commited, what all files etc.. + - **git log**: it will provide you all the commits you have done so far, with date-time and Unique ID of that commit... + + +
+
+5. Multiple Commits and Checking out Snapshots + +image + + - **git checkout ** : it will change the "code" to the snapshot of that "commit id only" from the "latest code base". And if you check status (git status) "head" directs to the "commit id" which we provide. By default git "head" directs to latest "commmit id". + + - **git checkout main** : By anytime if you want to restore and go back to the latest head, just checkout to "main"(means "main branch") will restore everything. and now you will see the "code base" is again back to the previous latest state and you can check all the commits or status by "git status" where "head" will direct to the latest commit.. + + **NOTE** - the git checkout is not delete anything, but it was tempraray change in commits.. + + +
+
+6. Undo Commits or Reverting changes with "Git revert" + +image + + - From above image, if you have to revert the commint "C6", then by using "git revert < id-of-C6 >" this will create new commit as "C7" as shown form above figure. Note - its not deleting "C6", instead just creating new "C7". + + - **git revert ** - it will revert the changes of commit by creating new commit (which is just absent of revert code). In one word it Undo commit + + + +
+
+7. Removing commits or Resetting code with "git reset" + +- **git reset --hard ** : to will delete all the commits which are before mentioned commit ID.. +- For we have commits C1,C2,C3,C4,C5,C6 and now if you run "git reset --hard ". It will delete C4, C5,C6 and we have following commits: C1, C2, C3 available only... + + +8. All the above Key commands in Git + image + + + +9. Stagging Multiple files and ignoring with .gitignore + image + + - Create ".gitignore" file in your repository and include all the files names which you wanted to be ignored by git and not pushed, as shown in above image, which is ".vscode" and ".DS_Store" + - now you can use "git add ." that this will stack all the files at ones and ignores all the files which are mentioned in the .gitignore file. + From 8253aaf9eb7cf18d35e939155e77353652015829 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 23:52:44 +0530 Subject: [PATCH 11/32] Rename Git_&_Github_Crash_Course.md to Git-&-Github-Crash-Course.md --- Git_&_Github_Crash_Course.md => Git-&-Github-Crash-Course.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Git_&_Github_Crash_Course.md => Git-&-Github-Crash-Course.md (100%) diff --git a/Git_&_Github_Crash_Course.md b/Git-&-Github-Crash-Course.md similarity index 100% rename from Git_&_Github_Crash_Course.md rename to Git-&-Github-Crash-Course.md From 19a8e88238239b5b0286d76061cbe7941a07d7ed Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 6 Jun 2024 23:55:51 +0530 Subject: [PATCH 12/32] Update Git-&-Github-Crash-Course.md --- Git-&-Github-Crash-Course.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Git-&-Github-Crash-Course.md b/Git-&-Github-Crash-Course.md index f97def0c..41431ed8 100644 --- a/Git-&-Github-Crash-Course.md +++ b/Git-&-Github-Crash-Course.md @@ -100,3 +100,18 @@ git help - Create ".gitignore" file in your repository and include all the files names which you wanted to be ignored by git and not pushed, as shown in above image, which is ".vscode" and ".DS_Store" - now you can use "git add ." that this will stack all the files at ones and ignores all the files which are mentioned in the .gitignore file. + + +
+
+
+
+ +

Branches

+
+
+
+
+ + +10. From 1221ca98c788d6e0af3406f7905d1cb982a69543 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Fri, 7 Jun 2024 18:31:11 +0530 Subject: [PATCH 13/32] Update Git-&-Github-Crash-Course.md --- Git-&-Github-Crash-Course.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Git-&-Github-Crash-Course.md b/Git-&-Github-Crash-Course.md index 41431ed8..d3fbbe6e 100644 --- a/Git-&-Github-Crash-Course.md +++ b/Git-&-Github-Crash-Course.md @@ -114,4 +114,16 @@ git help
-10. +10. Understanding the Git Branches + + image + + - When you intiatlize the git project with "git init", you get by default "main" branch(will contains all your commits) + - **git branch < Name of Branch>** : it will create new branch, by default this will take your latest commit(as starting point) and create new branch, as shown above for "C2" commit for branch "feature-1" + - **git merge < Name of Branch>** : it will merge one branch to another automatically, for example as shown in above image we can merge "feature-1" to "main" branch. + + + + + + From 419828de05db4887007162bd9551f797786d0d85 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Mon, 10 Jun 2024 18:56:32 +0530 Subject: [PATCH 14/32] Update Git-&-Github-Crash-Course.md --- Git-&-Github-Crash-Course.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Git-&-Github-Crash-Course.md b/Git-&-Github-Crash-Course.md index d3fbbe6e..84a4acbb 100644 --- a/Git-&-Github-Crash-Course.md +++ b/Git-&-Github-Crash-Course.md @@ -51,7 +51,7 @@ git help - from above image we learned - **git add **: it will set the stage to commit - Another way to stage all files at ones is "**git add .**" or "git add *" . Downside of this approach is that it add all the files in the repo which may include any unwanted files.. and so you can add ".gitignore" file and mention files which you want git to ignore and Hence now you can use "git add ." and it will add only the required files and ignore the unwanted files(refere point # 9) - - **git commit -m " ENTER YOUR MESSAGE HERE "**: it will commit the file(s) to github + - **git commit -m " ENTER YOUR MESSAGE HERE "**: it will commit the file(s) to git(not to github) - **git status**: it provide current status like is the file in stagging or commited, what all files etc.. - **git log**: it will provide you all the commits you have done so far, with date-time and Unique ID of that commit... @@ -119,11 +119,27 @@ git help image - When you intiatlize the git project with "git init", you get by default "main" branch(will contains all your commits) - - **git branch < Name of Branch>** : it will create new branch, by default this will take your latest commit(as starting point) and create new branch, as shown above for "C2" commit for branch "feature-1" - - **git merge < Name of Branch>** : it will merge one branch to another automatically, for example as shown in above image we can merge "feature-1" to "main" branch. + - **git branch < Name of Branch>** : it will create new branch, by default this will take your latest commit(as starting point) and create new branch, as shown above for "C2" commit for branch "feature-1" and then you can shift to new branch with **git checkout < Name of Branch** (eg git checkout feature-1) + - **git checkout -b < Name of Branch>** : this is alternate way of creating new branch and started using it right away.. + - **git branch** : it will share all the exsisting branches names (with current branch name in green coloured and star) + - **git branch -D < Name of Branch>** : it will delete the branch. + - **git merge < Name of Branch>** : it will merge name mentioned in the command with the current active branch and automatically try to resolve the conflicts, for example as shown in above image we can merge "feature-1" to "main" branch. then acivate main branch by "git checkout main"(and check current branch by git log, main branch should be activate) and then merge "feature-1" with main branch by git merge "feature-1" .. now after successful merged, this will show "how many files changed? how many lines added and delted" + + +
+
+
+
+

Github

+
+
+
+
+11. Github Intro + image From ff9fa8b3b79c7f2ae1cfa24371e439727b64fed9 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Tue, 11 Jun 2024 00:39:22 +0530 Subject: [PATCH 15/32] Update Git-&-Github-Crash-Course.md --- Git-&-Github-Crash-Course.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Git-&-Github-Crash-Course.md b/Git-&-Github-Crash-Course.md index 84a4acbb..0cf5de58 100644 --- a/Git-&-Github-Crash-Course.md +++ b/Git-&-Github-Crash-Course.md @@ -142,4 +142,14 @@ git help image - +11. Connecting Local and Remote Repositories + image + +``` +git remote add : #this will connect github to local git repository(eg git remote add origin https:github.com/abc/xyz.git) + +``` + + + +12. pushing commit to github and understanding From dccb3311c36c816a168023196dab235d94d0dfc0 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Sun, 23 Jun 2024 19:42:38 +0530 Subject: [PATCH 16/32] Create 01- Github Actions Basic Building blocks and Components.md --- ...ns Basic Building blocks and Components.md | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 01- Github Actions Basic Building blocks and Components.md diff --git a/01- Github Actions Basic Building blocks and Components.md b/01- Github Actions Basic Building blocks and Components.md new file mode 100644 index 00000000..b23068d9 --- /dev/null +++ b/01- Github Actions Basic Building blocks and Components.md @@ -0,0 +1,91 @@ +

Github Actions Basic Building blocks and Components

+ +- Basic Buidling blocks of Github Actions: +image + + - By Default each job run parallely and hence have its own runner. + ``` + job: + test: #job 1 + runs-on: ubuntu-latest #runner 1 + .. + .. + + deploy: #job 2 + runs-on: ubuntu-latest #runner 2 + .. + .. + ``` +- To make run jobs sequentially we have to just add "needs" + ``` + job: + test: #job 1 + runs-on: ubuntu-latest #runner 1 + .. + .. + + deploy: #job 2 + needs: test #"deploy" job needs "test" to execute first and if it fails, "deploy" job will not execute, which makes it sequential.. + runs-on: ubuntu-latest #runner 2 + .. + .. + ``` +- Multiple event triggers, add all the ways of trigger under "on" + ``` + name: Deploy Project + on: [push, workflow_dispatch] #here "push" means whenever pushing code, "workflow_dispatch" means manually running the work.. + jobs: + ``` +- Expression and Context Objects + ``` + name: Output information + on: workflow_dispatch + jobs: + info: + runs-on: ubuntu-latest + steps: + - name: Output GitHub context + run: echo "${{ toJSON(github) }}" #expression. to make it readbale wrapped with function "toJSON()" + ``` + - To know about Github Action Context objects: https://docs.github.com/en/actions/learn-github-actions/contexts + - Just like we used above exmaple "github" which is context object.. + - To know about Github Actions Expression/Function: https://docs.github.com/en/actions/learn-github-actions/expressions + - Just like we used above exmaple "${{ toJSON(github) }}" which is Expression.. + +- Official Github Actions Doc: https://docs.github.com/en/actions + +- On Github Marketplace we have two options: Apps and Actions: + - Here is Github Action Marketplace : https://github.com/marketplace?type=actions + +- Github Checkout Action: + - Repo: https://github.com/actions/checkout?tab=readme-ov-file + - Marketplace: https://github.com/marketplace/actions/checkout + + ``` + jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 #"actions/checkout" define the name and "v3" is the version of teh action + #we can also add more parameters to the checkout action with "with" command refer here: https://github.com/marketplace/actions/checkout#usage + ``` + +- **Failing and Analysizing Workflows:** To understand any worflow or just to undestand if whats happening underthe worflow, always refer to the logfile of the workflow which is visible after your workflow executes under the "Actions" tab. + +

Errors

+ +1. **Error to push github actions worflow from local to github**: + + To have access to push Github Action workflows from local system to Github you need to have "developer token" which have access to not just repository but also to workflow, which you can create it from here: https://github.com/settings/tokens (if there are other tokens as well remove them for you) and tick the workflow aswell, as shown in below image: + + image + + + Now you have createed new token using which you can push the github workflow to github.. + + +

Summary: Github Actions Basic Building blocks and Components

+ +image + From 4b38382892b8465a4f5209d9a67015ae5ee1e0f2 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Sun, 23 Jun 2024 19:46:11 +0530 Subject: [PATCH 17/32] Create Workflows & Events Deep Dive.md --- Workflows & Events Deep Dive.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Workflows & Events Deep Dive.md diff --git a/Workflows & Events Deep Dive.md b/Workflows & Events Deep Dive.md new file mode 100644 index 00000000..ac72f27c --- /dev/null +++ b/Workflows & Events Deep Dive.md @@ -0,0 +1 @@ +

Workflows & Events Deep Dive

From a9735d5fd9ce545a27e7ff589fe4aa2ff144ff01 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Sun, 23 Jun 2024 19:46:49 +0530 Subject: [PATCH 18/32] Rename Workflows & Events Deep Dive.md to 02-Workflows & Events Deep Dive.md --- ...ws & Events Deep Dive.md => 02-Workflows & Events Deep Dive.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Workflows & Events Deep Dive.md => 02-Workflows & Events Deep Dive.md (100%) diff --git a/Workflows & Events Deep Dive.md b/02-Workflows & Events Deep Dive.md similarity index 100% rename from Workflows & Events Deep Dive.md rename to 02-Workflows & Events Deep Dive.md From e111de5b9f85e8479c6238da33c12ffb3398e4c4 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Tue, 25 Jun 2024 16:08:36 +0530 Subject: [PATCH 19/32] Create manual.yml --- .github/workflows/manual.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 00000000..11b2e355 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,32 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + # The data type of the input + type: string + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ inputs.name }}" From 5ab4edc2179ad03afec1e1e722c261e0a05a8849 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Tue, 25 Jun 2024 16:21:00 +0530 Subject: [PATCH 20/32] Update 01- Github Actions Basic Building blocks and Components.md --- ...ns Basic Building blocks and Components.md | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/01- Github Actions Basic Building blocks and Components.md b/01- Github Actions Basic Building blocks and Components.md index b23068d9..2ffd4906 100644 --- a/01- Github Actions Basic Building blocks and Components.md +++ b/01- Github Actions Basic Building blocks and Components.md @@ -89,3 +89,103 @@ image +- Final Deployment Code - https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/02%20Basics/03%20Finished%20Project/.github/workflows/deployment.yml + ``` + + name: Deploy Project + on: [push, workflow_dispatch] + jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install NodeJS + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm test + deploy: + needs: test + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install NodeJS + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Install dependencies + run: npm ci + - name: Build project + run: npm run build + - name: Deploy + run: echo "Deploying ..." + + ``` + + - Another 2 deployments exmaples: + - Deployment 01: https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/02%20Basics/05%20Practice%20Project%20(Finished)/.github/workflows/deployment1.yaml + + ``` + name: Deployment Exercise 1 + on: push + jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install dependencies + run: npm ci + - name: Lint + run: npm run lint + - name: Test code + run: npm run test + - name: Build code + run: npm run build + - name: Deploy code + run: echo "Deploying..." + + ``` + - Deployment 02: https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/02%20Basics/05%20Practice%20Project%20(Finished)/.github/workflows/deployment2.yaml + ``` + name: Deployment Exercise 2 + on: push + jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install dependencies + run: npm ci + - name: Lint + run: npm run lint + test: + needs: lint + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install dependencies + run: npm ci + - name: Test code + run: npm run test + deploy: + needs: test + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install dependencies + run: npm ci + - name: Build code + run: npm run build + - name: Deploy code + run: echo "Deploying..." + + ``` From 74931f24b1ba0d4abb2618791a1074f3044c9346 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Tue, 25 Jun 2024 16:27:36 +0530 Subject: [PATCH 21/32] Update 01- Github Actions Basic Building blocks and Components.md --- ...ns Basic Building blocks and Components.md | 99 +------------------ 1 file changed, 5 insertions(+), 94 deletions(-) diff --git a/01- Github Actions Basic Building blocks and Components.md b/01- Github Actions Basic Building blocks and Components.md index 2ffd4906..8f1fad7a 100644 --- a/01- Github Actions Basic Building blocks and Components.md +++ b/01- Github Actions Basic Building blocks and Components.md @@ -90,102 +90,13 @@ image - Final Deployment Code - https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/02%20Basics/03%20Finished%20Project/.github/workflows/deployment.yml - ``` - - name: Deploy Project - on: [push, workflow_dispatch] - jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Get code - uses: actions/checkout@v3 - - name: Install NodeJS - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Install dependencies - run: npm ci - - name: Run tests - run: npm test - deploy: - needs: test - runs-on: ubuntu-latest - steps: - - name: Get code - uses: actions/checkout@v3 - - name: Install NodeJS - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Install dependencies - run: npm ci - - name: Build project - run: npm run build - - name: Deploy - run: echo "Deploying ..." - - ``` + image + - Another 2 deployments exmaples: - Deployment 01: https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/02%20Basics/05%20Practice%20Project%20(Finished)/.github/workflows/deployment1.yaml + image - ``` - name: Deployment Exercise 1 - on: push - jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Get code - uses: actions/checkout@v3 - - name: Install dependencies - run: npm ci - - name: Lint - run: npm run lint - - name: Test code - run: npm run test - - name: Build code - run: npm run build - - name: Deploy code - run: echo "Deploying..." - - ``` + - Deployment 02: https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/02%20Basics/05%20Practice%20Project%20(Finished)/.github/workflows/deployment2.yaml - ``` - name: Deployment Exercise 2 - on: push - jobs: - lint: - runs-on: ubuntu-latest - steps: - - name: Get code - uses: actions/checkout@v3 - - name: Install dependencies - run: npm ci - - name: Lint - run: npm run lint - test: - needs: lint - runs-on: ubuntu-latest - steps: - - name: Get code - uses: actions/checkout@v3 - - name: Install dependencies - run: npm ci - - name: Test code - run: npm run test - deploy: - needs: test - runs-on: ubuntu-latest - steps: - - name: Get code - uses: actions/checkout@v3 - - name: Install dependencies - run: npm ci - - name: Build code - run: npm run build - - name: Deploy code - run: echo "Deploying..." - - ``` + image From eb45571748156a4080183af66417f823c513d156 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 14:50:47 +0530 Subject: [PATCH 22/32] Update 02-Workflows & Events Deep Dive.md --- 02-Workflows & Events Deep Dive.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/02-Workflows & Events Deep Dive.md b/02-Workflows & Events Deep Dive.md index ac72f27c..6d05c60b 100644 --- a/02-Workflows & Events Deep Dive.md +++ b/02-Workflows & Events Deep Dive.md @@ -1 +1,7 @@

Workflows & Events Deep Dive

+ +image + + - Official doc of Events that trigger worflow: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows + + From 9df50eadd44898582c5a74718d0e92c59a8dfb92 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 14:57:00 +0530 Subject: [PATCH 23/32] Update README.md --- README.md | 93 +++---------------------------------------------------- 1 file changed, 5 insertions(+), 88 deletions(-) diff --git a/README.md b/README.md index b23068d9..29aa42ea 100644 --- a/README.md +++ b/README.md @@ -1,91 +1,8 @@ -

Github Actions Basic Building blocks and Components

-- Basic Buidling blocks of Github Actions: -image - - - By Default each job run parallely and hence have its own runner. - ``` - job: - test: #job 1 - runs-on: ubuntu-latest #runner 1 - .. - .. - - deploy: #job 2 - runs-on: ubuntu-latest #runner 2 - .. - .. - ``` -- To make run jobs sequentially we have to just add "needs" - ``` - job: - test: #job 1 - runs-on: ubuntu-latest #runner 1 - .. - .. - - deploy: #job 2 - needs: test #"deploy" job needs "test" to execute first and if it fails, "deploy" job will not execute, which makes it sequential.. - runs-on: ubuntu-latest #runner 2 - .. - .. - ``` -- Multiple event triggers, add all the ways of trigger under "on" - ``` - name: Deploy Project - on: [push, workflow_dispatch] #here "push" means whenever pushing code, "workflow_dispatch" means manually running the work.. - jobs: - ``` -- Expression and Context Objects - ``` - name: Output information - on: workflow_dispatch - jobs: - info: - runs-on: ubuntu-latest - steps: - - name: Output GitHub context - run: echo "${{ toJSON(github) }}" #expression. to make it readbale wrapped with function "toJSON()" - ``` - - To know about Github Action Context objects: https://docs.github.com/en/actions/learn-github-actions/contexts - - Just like we used above exmaple "github" which is context object.. - - To know about Github Actions Expression/Function: https://docs.github.com/en/actions/learn-github-actions/expressions - - Just like we used above exmaple "${{ toJSON(github) }}" which is Expression.. - -- Official Github Actions Doc: https://docs.github.com/en/actions - -- On Github Marketplace we have two options: Apps and Actions: - - Here is Github Action Marketplace : https://github.com/marketplace?type=actions - -- Github Checkout Action: - - Repo: https://github.com/actions/checkout?tab=readme-ov-file - - Marketplace: https://github.com/marketplace/actions/checkout - - ``` - jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Get code - uses: actions/checkout@v3 #"actions/checkout" define the name and "v3" is the version of teh action - #we can also add more parameters to the checkout action with "with" command refer here: https://github.com/marketplace/actions/checkout#usage - ``` - -- **Failing and Analysizing Workflows:** To understand any worflow or just to undestand if whats happening underthe worflow, always refer to the logfile of the workflow which is visible after your workflow executes under the "Actions" tab. - -

Errors

- -1. **Error to push github actions worflow from local to github**: +Github Actions Index - To have access to push Github Action workflows from local system to Github you need to have "developer token" which have access to not just repository but also to workflow, which you can create it from here: https://github.com/settings/tokens (if there are other tokens as well remove them for you) and tick the workflow aswell, as shown in below image: - - image - - - Now you have createed new token using which you can push the github workflow to github.. - - -

Summary: Github Actions Basic Building blocks and Components

- -image +0. [Git & Github Crash Course](https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Git-%26-Github-Crash-Course.md) +1. [Github Actions Basic Building blocks and Components](https://github.com/BaliDataMan/github-actions-course-resources/blob/main/01-%20Github%20Actions%20Basic%20Building%20blocks%20and%20Components.md#github-actions-basic-building-blocks-and-components) + +2. [Workflows & Events Deep Dive](https://github.com/BaliDataMan/github-actions-course-resources/blob/main/02-Workflows%20%26%20Events%20Deep%20Dive.md#workflows--events-deep-dive) From f65036424301e8e15b79d0db31e542b3f516f6b2 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 17:21:10 +0530 Subject: [PATCH 24/32] Update 02-Workflows & Events Deep Dive.md --- 02-Workflows & Events Deep Dive.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/02-Workflows & Events Deep Dive.md b/02-Workflows & Events Deep Dive.md index 6d05c60b..cdab2922 100644 --- a/02-Workflows & Events Deep Dive.md +++ b/02-Workflows & Events Deep Dive.md @@ -4,4 +4,30 @@ - Official doc of Events that trigger worflow: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows +- This Will trigger the worflow if there is + - "push on any branch or anywhere in the repo.." and + - also "using workflow dispatch we can trigger the worflow through the button" + ![image](https://github.com/BaliDataMan/github-actions-course-resources/assets/29046663/44be287f-4dea-488a-a8d9-7fdea0351101) + +

Event Filters and Activity types

+ image + +

Activity Types

+ image + + - Link to the above screen shot: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request + - By default "pull request" activity type triggers when, activity is "opened", "synchronised" or "reopened". + + - Example of Activity type, using for "pull request" - which shows that the workflow will trigger only when an "Open PR request is raised" + + image + + +

Event Filters

+ +- Filter Pattern Cheat Sheet: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet + +

Final Github actions having Events

+ + - Link to the worflow: https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/03%20Events/02%20Finished%20Project/.github/workflows/demo1.yml From c832da3df79b979ecdaa4520c5d2393bb37b0328 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 18:10:41 +0530 Subject: [PATCH 25/32] Update 02-Workflows & Events Deep Dive.md --- 02-Workflows & Events Deep Dive.md | 79 ++++++++++++++++++++++++++++-- 1 file changed, 75 insertions(+), 4 deletions(-) diff --git a/02-Workflows & Events Deep Dive.md b/02-Workflows & Events Deep Dive.md index cdab2922..ef91af77 100644 --- a/02-Workflows & Events Deep Dive.md +++ b/02-Workflows & Events Deep Dive.md @@ -9,10 +9,15 @@ - also "using workflow dispatch we can trigger the worflow through the button" ![image](https://github.com/BaliDataMan/github-actions-course-resources/assets/29046663/44be287f-4dea-488a-a8d9-7fdea0351101) - +
+
+

Event Filters and Activity types

image + +
+

Activity Types

image @@ -23,11 +28,77 @@ image - + +
+

Event Filters

+ ![image](https://github.com/BaliDataMan/github-actions-course-resources/assets/29046663/a932e0e1-df49-4b2b-80b9-201b8cc7639c) + + - We can triggere event filter on "push" by the following filters as underlined above: + - branches + - tags + - branch-ignore + - Tag-ignore + + - Example of Event trigger: + + image + + - Another examples of adding event triggers(the branches part of "pull request"): + + image + + + +- Offical doc to learn about Event filters: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions - Filter Pattern Cheat Sheet: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet -

Final Github actions having Events

+ +
+
+

Final Github worflow code: Having Events filters and activity type asper above exmaples

+ + ![image](https://github.com/BaliDataMan/github-actions-course-resources/assets/29046663/16741e1a-a9d9-42ab-a98a-73880ab1e6b6) + + + - Link to the worflow: https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/03%20Events/02%20Finished%20Project/.github/workflows/demo1.yml + + +
+
+
+

Special Behaviour: Forks & Pull Request Events

+ + image + + - If its added as Contributor the flow will excute, but if someone unknown or first time raising PR, the Github worflow will not execute even if asper the code. + + +
+
+
+

Cancelling and Skipping the Workflow

+ + image + + + +- You can Manually cancel the worflow through the button as shown with yellow circle below: + + Screenshot 2024-06-27 at 5 59 23 PM + +- You can skip workflow runs triggered by the push and pull_request events by including a command in your commit message. + + + - Example of skipping the worflow: + + image + + + - For more details (official doc: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs): + + image + + - - Link to the worflow: https://github.com/BaliDataMan/github-actions-course-resources/blob/main/Code/03%20Events/02%20Finished%20Project/.github/workflows/demo1.yml From ad086c4de281a1087dff70f3fb2866b2e5816ce6 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 18:18:11 +0530 Subject: [PATCH 26/32] Update 02-Workflows & Events Deep Dive.md --- 02-Workflows & Events Deep Dive.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/02-Workflows & Events Deep Dive.md b/02-Workflows & Events Deep Dive.md index ef91af77..bda0a9b3 100644 --- a/02-Workflows & Events Deep Dive.md +++ b/02-Workflows & Events Deep Dive.md @@ -72,7 +72,7 @@ image - - If its added as Contributor the flow will excute, but if someone unknown or first time raising PR, the Github worflow will not execute even if asper the code. + - If its added as Contributor the flow will excute, but if someone unknown or first time raising PR, the Github worflow will not execute even if the PR is asper the code written in Github worflows.
@@ -101,4 +101,13 @@ image + +
+
+
+

Summary/h2> + + image + + From 8e2d5cdad2eac9066e8a9f8214ad9417436c1cec Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 18:18:57 +0530 Subject: [PATCH 27/32] Update 02-Workflows & Events Deep Dive.md --- 02-Workflows & Events Deep Dive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02-Workflows & Events Deep Dive.md b/02-Workflows & Events Deep Dive.md index bda0a9b3..7f015742 100644 --- a/02-Workflows & Events Deep Dive.md +++ b/02-Workflows & Events Deep Dive.md @@ -105,7 +105,7 @@


-

Summary/h2> +

Summary

image From b37bbc07ce04c508abe8f7f727cc23be5d3868d6 Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 18:20:36 +0530 Subject: [PATCH 28/32] Create 03 Job Artifacts & Outputs --- 03 Job Artifacts & Outputs | 1 + 1 file changed, 1 insertion(+) create mode 100644 03 Job Artifacts & Outputs diff --git a/03 Job Artifacts & Outputs b/03 Job Artifacts & Outputs new file mode 100644 index 00000000..dcda4714 --- /dev/null +++ b/03 Job Artifacts & Outputs @@ -0,0 +1 @@ +

Job Artifacts & Outputs

From 53a4dccd32a2f818e2dff7dd989e6940f04c4faf Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 18:21:17 +0530 Subject: [PATCH 29/32] Rename 03 Job Artifacts & Outputs to 03-Job Artifacts & Outputs --- 03 Job Artifacts & Outputs => 03-Job Artifacts & Outputs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename 03 Job Artifacts & Outputs => 03-Job Artifacts & Outputs (100%) diff --git a/03 Job Artifacts & Outputs b/03-Job Artifacts & Outputs similarity index 100% rename from 03 Job Artifacts & Outputs rename to 03-Job Artifacts & Outputs From 54e0bcbe628b397f274ed0f7dfa31caf771e6ceb Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 18:21:47 +0530 Subject: [PATCH 30/32] Rename Git-&-Github-Crash-Course.md to 0-Git & Github Crash Course.md --- Git-&-Github-Crash-Course.md => 0-Git & Github Crash Course.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Git-&-Github-Crash-Course.md => 0-Git & Github Crash Course.md (100%) diff --git a/Git-&-Github-Crash-Course.md b/0-Git & Github Crash Course.md similarity index 100% rename from Git-&-Github-Crash-Course.md rename to 0-Git & Github Crash Course.md From ee7ab80386d3aea2d0e623cbfee782f554cfb14f Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Thu, 27 Jun 2024 18:23:11 +0530 Subject: [PATCH 31/32] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 29aa42ea..440f82b0 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,4 @@ Github Actions Index 1. [Github Actions Basic Building blocks and Components](https://github.com/BaliDataMan/github-actions-course-resources/blob/main/01-%20Github%20Actions%20Basic%20Building%20blocks%20and%20Components.md#github-actions-basic-building-blocks-and-components) 2. [Workflows & Events Deep Dive](https://github.com/BaliDataMan/github-actions-course-resources/blob/main/02-Workflows%20%26%20Events%20Deep%20Dive.md#workflows--events-deep-dive) +3. [Job Artifacts & Outputs](https://github.com/BaliDataMan/github-actions-course-resources/blob/main/03-Job%20Artifacts%20%26%20Outputs) From 84a23bf7933ecda5db1ca6ea8733fb89c27485eb Mon Sep 17 00:00:00 2001 From: Sahil Bali Date: Tue, 2 Jul 2024 11:05:14 +0530 Subject: [PATCH 32/32] Update and rename 03-Job Artifacts & Outputs to 03-Job Artifacts & Outputs.md --- 03-Job Artifacts & Outputs | 1 - 03-Job Artifacts & Outputs.md | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) delete mode 100644 03-Job Artifacts & Outputs create mode 100644 03-Job Artifacts & Outputs.md diff --git a/03-Job Artifacts & Outputs b/03-Job Artifacts & Outputs deleted file mode 100644 index dcda4714..00000000 --- a/03-Job Artifacts & Outputs +++ /dev/null @@ -1 +0,0 @@ -

Job Artifacts & Outputs

diff --git a/03-Job Artifacts & Outputs.md b/03-Job Artifacts & Outputs.md new file mode 100644 index 00000000..347b47ca --- /dev/null +++ b/03-Job Artifacts & Outputs.md @@ -0,0 +1,8 @@ +

Job Artifacts & Outputs

+image + + + +

Understanding Job Artifacts

+image +