Skip to content

Commit 6286f08

Browse files
committed
Updated GitHub workflow setup
The GitHub workflow has been updated to include a more comprehensive Ruby setup. The changes involve setting up Ruby with a specific version and enabling bundler cache. Additionally, the installation process of dependencies has been modified to use Bundler for better dependency management.
1 parent 7e1594a commit 6286f08

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/run.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,16 @@ jobs:
1010
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Install kramdown-parser-gfm
13+
- name: Set up Ruby
14+
uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: '3.0'
17+
bundler-cache: true
18+
- name: Install dependencies
1419
run: |
15-
sudo gem install kramdown-parser-gfm
20+
sudo gem install bundler:2.2.15
21+
bundle install
22+
bundle add kramdown-parser-gfm
1623
- uses: helaili/jekyll-action@2.0.1
1724
env:
1825
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}

0 commit comments

Comments
 (0)