File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2626 - name : Read HUGO_VERSION
2727 id : hugo_version
2828 run : echo "HUGO_VERSION=$(cat HUGO_VERSION)" >> $GITHUB_OUTPUT
29+ - name : Read PAGEFIND_VERSION
30+ id : pagefind_version
31+ # put this one in the env so it's easier to call in the shell
32+ run : echo "PAGEFIND_VERSION=$(cat PAGEFIND_VERSION)" >> $GITHUB_ENV
2933
3034 - name : Setup Hugo
3135 uses : peaceiris/actions-hugo@v3
3741 run : |
3842 mkdir -p ~/.local/bin/
3943 echo "$HOME/.local/bin" >> "$GITHUB_PATH"
40- curl -L https://github.com/Pagefind/pagefind/releases/download/v1.3.0/pagefind-v1.3.0-x86_64-unknown-linux-musl.tar.gz | tar zxv -C ~/.local/bin pagefind
44+ curl -L "https://github.com/Pagefind/pagefind/releases/download/$PAGEFIND_VERSION/pagefind-$PAGEFIND_VERSION-x86_64-unknown-linux-musl.tar.gz" |
45+ tar zxv -C ~/.local/bin pagefind
4146
4247 - name : Build
4348 run : ./build.sh
Original file line number Diff line number Diff line change 1+ v1.3.0
You can’t perform that action at this time.
0 commit comments