workflow: use choco install
`cinst` is deprecated in favour of `choco install`. Convert our CI system and release process to the new form and move the `-y` to its proper place before the package name for better compatibility.
This commit is contained in:
parent
3bf8ad72b3
commit
e1f9eb915b
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -78,8 +78,8 @@ jobs:
|
||||
- run: mkdir -p "$HOME/go/bin"
|
||||
shell: bash
|
||||
- run: set GOPATH=%HOME%\go
|
||||
- run: cinst InnoSetup -y
|
||||
- run: cinst strawberryperl -y
|
||||
- run: choco install -y InnoSetup
|
||||
- run: choco install -y strawberryperl
|
||||
- run: refreshenv
|
||||
- run: make man
|
||||
shell: bash
|
||||
|
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -30,10 +30,10 @@ jobs:
|
||||
- run: mkdir -p "$HOME/go/bin"
|
||||
shell: bash
|
||||
- run: set GOPATH=%HOME%\go
|
||||
- run: cinst InnoSetup -y
|
||||
- run: cinst strawberryperl -y
|
||||
- run: cinst zip -y
|
||||
- run: cinst jq -y
|
||||
- run: choco install -y InnoSetup
|
||||
- run: choco install -y strawberryperl
|
||||
- run: choco install -y zip
|
||||
- run: choco install -y jq
|
||||
- run: refreshenv
|
||||
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest
|
||||
shell: bash
|
||||
|
Loading…
Reference in New Issue
Block a user