We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d38eb6 commit f756a34Copy full SHA for f756a34
.github/workflows/publish.yml
@@ -22,8 +22,11 @@ jobs:
22
- name: Setup Hugo Version
23
id: hugo_version
24
run: |
25
- HUGO_VERSION=$(cat .tool-versions | grep hugo | cut -d' ' -f2 | cut -d'_' -f2)
26
- echo "HUGO_VERSION=$HUGO_VERSION" >> "$GITHUB_ENV"
+ echo "HUGO_VERSION=$(cat .tool-versions | grep hugo | cut -d' ' -f2 | cut -d'_' -f2)" >> "$GITHUB_ENV"
+
27
+ - name: Use the value
28
+ run: |
29
+ printf '%s\n' "$HUGO_VERSION" # This will output 'yellow'
30
31
- name: Setup Hugo
32
uses: peaceiris/actions-hugo@v3
0 commit comments