Skip to content

Commit d080d5a

Browse files
authored
Upgrade actions and modify artifact path in workflow
1 parent e8a615b commit d080d5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# .github/workflows/convert-to-pdf.yml
22

3-
name: Docs to PDF
43
# This workflow is triggered on pushes to the repository.
54
on:
65
push:
76
branches:
87
- main
98
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory
109
paths:
10+
- '.github/workflows/convert-to-pdf.yml'
1111
# - 'docs/**.md'
1212
# - 'docs/images/**'
1313
- 'CONDUCT.md'
@@ -17,7 +17,7 @@ jobs:
1717
name: Build PDF
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v6
2121
- uses: baileyjm02/markdown-to-pdf@v1
2222
with:
2323
input_dir: CONDUCT.md
@@ -27,7 +27,7 @@ jobs:
2727
# image_import: ./images
2828
# Default is true, can set to false to only get PDF files
2929
build_html: false
30-
- uses: actions/upload-artifact@v3
30+
- uses: actions/upload-artifact@v6
3131
with:
3232
name: docs
33-
path: pdfs
33+
path: CONDUCT.pdf

0 commit comments

Comments
 (0)