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:
brian m. carlson 2023-02-10 16:16:32 +00:00
parent 3bf8ad72b3
commit e1f9eb915b
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1
2 changed files with 6 additions and 6 deletions

@ -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

@ -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