Skip to content

Merge pull request #249 from mrpalide/fix/ready-for-v1.3.17 #4

Merge pull request #249 from mrpalide/fix/ready-for-v1.3.17

Merge pull request #249 from mrpalide/fix/ready-for-v1.3.17 #4

Workflow file for this run

name: Release
# only trigger on pull request closed events
on:
push:
tags:
- '*'
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21.x
- uses: actions/checkout@v3
- 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@v3
with:
go-version: 1.21.x
- uses: actions/checkout@v3
- 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
windows:
needs: darwin
runs-on: windows-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21.x
- uses: actions/checkout@v3
- name: Install Requirements
shell: pwsh
run: |
Invoke-WebRequest "https://github.com/goreleaser/goreleaser/releases/download/v1.8.3/goreleaser_Windows_x86_64.zip" -o goreleaser.zip
Expand-Archive goreleaser.zip
choco install make
- name: Releasing
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make github-release-windows