Fix quotes
This commit is contained in:
parent
3ca35bc4a1
commit
36708ec00d
@ -23,7 +23,7 @@ jobs:
|
|||||||
run: echo "current_version=$(${BLOG_FOLDER}/hugo version | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+')" | tee -a $GITEA_ENV
|
run: echo "current_version=$(${BLOG_FOLDER}/hugo version | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+')" | tee -a $GITEA_ENV
|
||||||
|
|
||||||
- name: Verify latest Hugo version
|
- name: Verify latest Hugo version
|
||||||
run: echo "latest_version=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep -oP '"tag_name": "\K[^"]+')" | tee -a $GITEA_ENV
|
run: echo "latest_version=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep -oP '\"tag_name\": \"\K[^\"]+')" | tee -a $GITEA_ENV
|
||||||
|
|
||||||
- name: Download latest Hugo version
|
- name: Download latest Hugo version
|
||||||
if: env.current_version != env.latest_version
|
if: env.current_version != env.latest_version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user