Skip to content

release

release #57

Workflow file for this run

# Releaser workflow setup
# https://goreleaser.com/ci/actions/
#
name: release
# run only on tags
on:
workflow_dispatch:
push:
tags:
- '*'
permissions:
contents: write # needed to write releases
id-token: write # needed for keyless signing
packages: write # needed for ghcr access
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # this is important, otherwise it won't checkout the full tree (i.e. no previous tags)
- uses: actions/setup-go@v4
with:
go-version: '1.20.3'
- uses: cachix/install-nix-action@v19
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build .#seekr-appimage
- name: Setup Node.js
uses: actions/[email protected]
- name: install tsc
run: npm install -g typescript
- uses: sigstore/[email protected] # installs cosign
- uses: goreleaser/[email protected] # run goreleaser
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}