Skip to content

Commit b8bf676

Browse files
committed
Update GitHub Actions to current versions
actions/checkout v3→v4, configure-pages v3→v5, cache v3→v4, upload-pages-artifact v1→v3, deploy-pages v2→v4. Fixes build failure due to deprecated upload-artifact v3.
1 parent a433a11 commit b8bf676

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Checkout
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535
- name: Setup Ruby
36-
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
36+
uses: ruby/setup-ruby@v1
3737
with:
3838
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3939
cache-version: 0 # Increment this number if you need to re-download cached gems
4040
ruby-version: 3.0.5
4141
- name: Setup Pages
4242
id: pages
43-
uses: actions/configure-pages@v3
43+
uses: actions/configure-pages@v5
4444
- name: Build with Jekyll
4545
# Outputs to the './_site' directory by default
4646
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
@@ -53,7 +53,7 @@ jobs:
5353
run: mkdir -p $GITHUB_WORKSPACE/tmp/.htmlproofer
5454

5555
- name: Cache html-proofer
56-
uses: actions/cache@v3
56+
uses: actions/cache@v4
5757
with:
5858
path: $GITHUB_WORKSPACE/tmp/.htmlproofer
5959
key: ${{ runner.os }}-htmlproofer-${{ hashFiles('**/*') }}
@@ -69,7 +69,7 @@ jobs:
6969
run: ./scripts/test
7070
- name: Upload artifact
7171
# Automatically uploads an artifact from the './_site' directory by default
72-
uses: actions/upload-pages-artifact@v1
72+
uses: actions/upload-pages-artifact@v3
7373
with:
7474
path: "public/"
7575

@@ -83,4 +83,4 @@ jobs:
8383
steps:
8484
- name: Deploy to GitHub Pages
8585
id: deployment
86-
uses: actions/deploy-pages@v2
86+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)