Skip to content

Commit 9edff1f

Browse files
committed
Use new github action syntax
1 parent 67864ff commit 9edff1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ jobs:
1818
id: gen-man-page-md
1919
run: |
2020
./scripts/generate-man-page-md.sh
21-
echo "::set-output name=man-page-md::man.md"
2221
2322
- name: Get the version
2423
id: get_version
25-
run: echo ::set-output name=VERSION::${GITHUB_REF##*/}
24+
run: echo "VERSION=${GITHUB_REF##*/}" >> "${GITHUB_OUTPUT}"
2625

2726
- name: Generate man page
2827
uses: docker://pandoc/core:2.14.2
@@ -36,7 +35,7 @@ jobs:
3635
--variable=header:"yq (https://github.com/mikefarah/yq/) version ${{ steps.get_version.outputs.VERSION }}"
3736
--variable=author:"Mike Farah"
3837
--output=yq.1
39-
${{ steps.gen-man-page-md.outputs.man-page-md }}
38+
man.md
4039
4140
- name: Cross compile
4241
run: |

0 commit comments

Comments
 (0)