Merge pull request #1892 from mrpalide/feat/handle-reward-survey-on-w… #76
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
name: Release | |
# only trigger on pull request closed events | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.23.x | |
- uses: actions/checkout@v4 | |
- name: Install Requirements | |
run: | | |
sudo apt update | |
sudo snap install goreleaser --classic | |
make dep-github-release | |
- name: Releasing | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make github-release | |
darwin: | |
needs: linux | |
runs-on: macos-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.23.x | |
- uses: actions/checkout@v4 | |
- name: Install Requirements | |
run: | | |
brew install goreleaser | |
brew install jq | |
brew install wget | |
- name: Releasing | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
make github-release-darwin | |
make mac-installer-release | |
windows: | |
needs: darwin | |
runs-on: windows-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.23.x | |
- uses: actions/checkout@v4 | |
- name: Install Requirements | |
shell: pwsh | |
run: | | |
Invoke-WebRequest "https://github.com/goreleaser/goreleaser/releases/download/v2.0.1/goreleaser_Windows_x86_64.zip" -OutFile goreleaser.zip | |
Expand-Archive goreleaser.zip | |
choco install make | |
- name: Releasing | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
make github-release-windows | |
make windows-installer-release |