Bump version embedded in the native messaging host #113
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
name: Build FlexConfirmMail | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 'stable' | |
- run: go version | |
- name: Install go-msi | |
run: choco install go-msi zip | |
# jq wixtoolset is already installed on windows-2019 image | |
- name: Setup PATH | |
run: | | |
echo "c:/ProgramData/chocolatey/bin" >> $Env:GITHUB_PATH | |
echo "c:/Program Files/go-msi" >> $Env:GITHUB_PATH | |
echo "c:/Program Files (x86)/WiX Toolset v3.11/bin" >> $Env:GITHUB_PATH | |
- name: Show PATH | |
run: | | |
echo $Env:PATH | |
echo $Env:GOPATH | |
- name: Install gox | |
run: go install github.com/mitchellh/gox@latest | |
- name: Make xpi | |
run: cd webextensions && make && cp *.xpi ..\ | |
- name: Make Installer | |
run: make host | |
env: | |
GOPATH: C:\Users\runneradmin\go | |
- name: Make Native Messaging Host Installer | |
run: | | |
.\webextensions\native-messaging-host\build_msi.bat | |
dir | |
xcopy /I /Y .\webextensions\native-messaging-host\*.msi . | |
- name: Upload assets | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Assets | |
path: | | |
*.xpi | |
*.zip | |
*.msi | |