Skip to content

Merge pull request #9 from infinimesh/profiles #27

Merge pull request #9 from infinimesh/profiles

Merge pull request #9 from infinimesh/profiles #27

Workflow file for this run

name: release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-r[0-9]+"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
with:
snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }}
- name: Install upx
run: sudo apt install upx -y
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: 'latest'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}