Skip to content

Commit b843c3f

Browse files
authored
Update GitHub Actions to use latest versions
Node.js 20 is deprecated
1 parent ad63ea5 commit b843c3f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/jam-post.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
112112
- name: Retrieve thumbnail
113113
# run: curl -o /assets/images/posts/${{env.DATE}}/header.jpg --create-dirs https://img.youtube.com/vi/${{github.event.inputs.video-id}}/mqdefault.jpg
114-
uses: suisei-cn/actions-download-file@6d20a8a11783bc479f85ccb2015224f937160478
114+
uses: suisei-cn/actions-download-file@9f75b8c2dad5ccced7509c44a3b881c5613abde2 # v1.6.1
115115
with:
116116
url: "https://img.youtube.com/vi/${{github.event.inputs.video-id}}/mqdefault.jpg"
117117
target: assets/images/posts/${{env.DATE}}/
@@ -140,18 +140,18 @@ jobs:
140140

141141
steps:
142142
- name: Checkout
143-
uses: actions/checkout@v4
143+
uses: actions/checkout@v6
144144

145145
- name: Setup Ruby
146-
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 # v1.207.0
146+
uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
147147
with:
148148
ruby-version: '3.2' # Not needed with a .ruby-version file
149149
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
150150
cache-version: 0 # Increment this number if you need to re-download cached gems
151151

152152
- name: Setup Pages
153153
id: pages
154-
uses: actions/configure-pages@v5
154+
uses: actions/configure-pages@v6
155155

156156
- name: Build with Jekyll
157157
# Outputs to the './_site' directory by default
@@ -161,7 +161,7 @@ jobs:
161161

162162
- name: Upload artifact
163163
# Automatically uploads an artifact from the './_site' directory by default
164-
uses: actions/upload-pages-artifact@v3
164+
uses: actions/upload-pages-artifact@v5
165165

166166
deploy:
167167
environment:
@@ -178,4 +178,4 @@ jobs:
178178
steps:
179179
- name: Deploy to GitHub Pages
180180
id: deployment
181-
uses: actions/deploy-pages@v4
181+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)