Skip to content

🐛 Bug fixes

🐛 Bug fixes #3

Workflow file for this run

# Create a release when a new tag is pushed
name: release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Install apt dependencies
run: sudo apt install -y libpam0g libpam0g-dev
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v5
- name: Setup nfpm
run: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest
- name: Setup Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and package
run: task package
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: ./dist/pkg/*