mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-07 14:25:38 +00:00
Use new github action syntax
This commit is contained in:
parent
67864ffdab
commit
9edff1f22c
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -18,11 +18,10 @@ jobs:
|
|||||||
id: gen-man-page-md
|
id: gen-man-page-md
|
||||||
run: |
|
run: |
|
||||||
./scripts/generate-man-page-md.sh
|
./scripts/generate-man-page-md.sh
|
||||||
echo "::set-output name=man-page-md::man.md"
|
|
||||||
|
|
||||||
- name: Get the version
|
- name: Get the version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: echo ::set-output name=VERSION::${GITHUB_REF##*/}
|
run: echo "VERSION=${GITHUB_REF##*/}" >> "${GITHUB_OUTPUT}"
|
||||||
|
|
||||||
- name: Generate man page
|
- name: Generate man page
|
||||||
uses: docker://pandoc/core:2.14.2
|
uses: docker://pandoc/core:2.14.2
|
||||||
@ -36,7 +35,7 @@ jobs:
|
|||||||
--variable=header:"yq (https://github.com/mikefarah/yq/) version ${{ steps.get_version.outputs.VERSION }}"
|
--variable=header:"yq (https://github.com/mikefarah/yq/) version ${{ steps.get_version.outputs.VERSION }}"
|
||||||
--variable=author:"Mike Farah"
|
--variable=author:"Mike Farah"
|
||||||
--output=yq.1
|
--output=yq.1
|
||||||
${{ steps.gen-man-page-md.outputs.man-page-md }}
|
man.md
|
||||||
|
|
||||||
- name: Cross compile
|
- name: Cross compile
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user