Skip to content

Commit e3da043

Browse files
prodevopsguytechNotHarshhaa
authored andcommitted
DevOps-Cheatsheet: 🚀 Fixed workflow failure due to deprecated actions
- Upgraded `actions/upload-artifact` from `v3` to `v4` to resolve deprecation error - Updated `actions/checkout` to `v4` for best practices - Ensured workflow remains functional for generating and uploading PDFs Signed-off-by: ProDevOpsGuy Tech <[email protected]> Signed-off-by: NotHarshhaa <[email protected]>
1 parent 53769ff commit e3da043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-pdf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Install pandoc and LaTeX
2121
run: |
@@ -30,7 +30,7 @@ jobs:
3030
done
3131
3232
- name: Upload PDF artifacts
33-
uses: actions/upload-artifact@v3
33+
uses: actions/upload-artifact@v4
3434
with:
3535
name: pdfs
3636
path: '**/*.pdf'

0 commit comments

Comments
 (0)