mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Man page release workflow wip
This commit is contained in:
parent
ee376fdfd2
commit
9c98d3effe
35
.github/workflows/release-test.yml
vendored
35
.github/workflows/release-test.yml
vendored
@ -23,9 +23,6 @@ jobs:
|
||||
id: gen-man-page
|
||||
env:
|
||||
MAN_HEADER: yq (https://github.com/mikefarah/yq/) version ${{ github.ref }}
|
||||
outputs:
|
||||
manpage:
|
||||
value: yq.1
|
||||
with:
|
||||
args: >-
|
||||
--standalone
|
||||
@ -42,24 +39,26 @@ jobs:
|
||||
sudo apt-get install rhash -y
|
||||
go get github.com/mitchellh/gox
|
||||
mkdir -p build
|
||||
cp ${{ steps.gen-man-page.outputs.manpage }} build/yq.1
|
||||
pwd
|
||||
ls
|
||||
cp yq.1 build/yq.1
|
||||
./scripts/xcompile.sh
|
||||
|
||||
# - name: Create Release
|
||||
# id: create_release
|
||||
# uses: actions/create-release@v1.0.0
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# tag_name: ${{ github.ref }}
|
||||
# release_name: TEST ${{ github.ref }}
|
||||
# draft: true
|
||||
# prerelease: false
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: TEST ${{ github.ref }}
|
||||
draft: true
|
||||
prerelease: false
|
||||
|
||||
# - uses: shogo82148/actions-upload-release-asset@v1
|
||||
# with:
|
||||
# upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
# asset_path: build/*
|
||||
- uses: shogo82148/actions-upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: build/*
|
||||
|
||||
# publishDocker:
|
||||
# environment: dockerhub
|
||||
|
Loading…
Reference in New Issue
Block a user