workflows: install ronn before running "make release"
Now that we're building the manual pages as part of the release target in the Makefile, let's be sure to always install ronn before doing so so that it doesn't fail.
This commit is contained in:
parent
d3158eb957
commit
13a860f0f9
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -10,6 +10,8 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-ruby@v1
|
||||
- run: gem install ronn
|
||||
- run: script/cibuild
|
||||
- run: CGO_ENABLED=0 make release
|
||||
- run: mkdir -p bin/assets
|
||||
@ -35,6 +37,7 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-ruby@v1
|
||||
- run: |
|
||||
echo "::add-path::C:\Program Files\Git\mingw64\bin"
|
||||
echo "::add-path::C:\Program Files\Git\usr\bin"
|
||||
@ -47,6 +50,10 @@ jobs:
|
||||
- run: choco uninstall git.install -y --force
|
||||
- run: cinst git --version 2.26.2 -y --force
|
||||
- run: refreshenv
|
||||
- run: gem install ronn
|
||||
shell: bash
|
||||
- run: make man
|
||||
shell: bash
|
||||
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo
|
||||
shell: bash
|
||||
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" script/cibuild
|
||||
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
- run: cinst zip -y
|
||||
- run: cinst jq -y
|
||||
- run: cinst windows-sdk-10.0 -y
|
||||
- run: gem install ronn
|
||||
- run: refreshenv
|
||||
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo
|
||||
shell: bash
|
||||
@ -52,6 +53,7 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-ruby@v1
|
||||
- run: brew install mitchellh/gon/gon
|
||||
- run: gem install ronn
|
||||
- run: make release
|
||||
- run: CERT_FILE="$HOME/cert.p12" make release-write-certificate
|
||||
env:
|
||||
@ -83,6 +85,7 @@ jobs:
|
||||
- uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: macos-assets
|
||||
- run: gem install ronn
|
||||
- run: CGO_ENABLED=0 make release
|
||||
- run: rm -f bin/releases/*windows* bin/releases/*darwin*
|
||||
- run: 'find windows-assets -name "*windows*" -type f | xargs -L1 -I{} mv {} bin/releases'
|
||||
|
Loading…
Reference in New Issue
Block a user