Skip to content

Commit 6c660d7

Browse files
committed
fix(github-actions): Update ruby version to 3.3.5 and jeffreytse/jekyll-deploy-action to 0.6.0
1 parent 95a2fce commit 6c660d7

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/build-jekyll.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,26 @@ jobs:
99
build_and_deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: ConorMacBride/install-package@v1
13+
with:
14+
apt: rolldice bcal
15+
16+
- uses: actions/checkout@v4
1317
with:
1418
lfs: 'true'
1519

1620
# Use GitHub Actions' cache to cache dependencies on servers
17-
- uses: actions/cache@v3
21+
- uses: actions/cache@v4
1822
with:
19-
path: vendor/bundle
20-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
23+
path: |
24+
.asdf/**
25+
vendor/bundle
26+
key: ${{ runner.os }}-cache-${{ hashFiles('**/cache.key') }}
2127
restore-keys: |
22-
${{ runner.os }}-gems-
28+
${{ runner.os }}-cache-
2329
2430
# Use GitHub Deploy Action to build and deploy to GitHub
25-
- uses: jeffreytse/jekyll-deploy-action@v0.5.1
31+
- uses: jeffreytse/jekyll-deploy-action@v0.6.0
2632
with:
2733
provider: 'github'
2834
token: ${{ secrets.GITHUB_TOKEN }} # It's your Personal Access Token(PAT)
@@ -31,7 +37,9 @@ jobs:
3137
jekyll_src: './' # Default is root directory
3238
jekyll_cfg: '_config.yml' # Default is _config.yml
3339
jekyll_baseurl: '' # Default is according to _config.yml
34-
bundler_ver: '' # Default is compatible bundler version (~>2.4.0)
40+
ruby_ver: '3.3.5' # Default is 3.2.0 version
41+
bundler_ver: '2.5.21' # Default is compatible bundler version (~>2.5.0)
3542
cname: 'scalastic.io' # Default is to not use a cname
3643
actor: '' # Default is the GITHUB_ACTOR
37-
pre_build_commands: pacman-key --init; pacman -S --noconfirm git-lfs libvips lcms2 openjpeg2 libpng libwebp libheif imagemagick openslide libjxl poppler-glib
44+
pre_build_commands: pacman -S --noconfirm git-lfs lcms2 openjpeg2 libpng libwebp libheif imagemagick openslide libjxl poppler-glib
45+

0 commit comments

Comments
 (0)