Skip to content

Commit 7bb54ed

Browse files
authored
Merge pull request #4 from maxmind/kphair/fix-cache-sha
Fix CI: actions/cache SHA pin and bundler PATH
2 parents af25959 + a6fdd8e commit 7bb54ed

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ghpages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: pip install xml2rfc
4747

4848
- name: "Cache xml2rfc References"
49-
uses: actions/cache@6682284cc58b73e9e0655991c2e8e82e47791b2a # v5.0.4
49+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
5050
with:
5151
path: .refcache
5252
key: refcache-${{ hashFiles('draft-*.md') }}

Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ SHELL := /bin/bash
22
.PHONY: all html txt clean
33
.DELETE_ON_ERROR:
44

5-
# Tool configuration
6-
KRAMDOWN_RFC ?= kramdown-rfc
5+
# Tool configuration.
6+
# kramdown-rfc is a Ruby gem managed by Bundler, so we invoke it via
7+
# `bundle exec` to find the gem on the Bundler load path. This lets plain
8+
# `make` work both locally and in CI (where ruby/setup-ruby installs gems
9+
# under a Bundler-managed location that is not on PATH for sub-shells).
10+
# Override via e.g. `KRAMDOWN_RFC=kramdown-rfc make` if invoking globally
11+
# installed binaries directly.
12+
KRAMDOWN_RFC ?= bundle exec kramdown-rfc
713
XML2RFC ?= xml2rfc
814

915
# Discover drafts

0 commit comments

Comments
 (0)