1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-10-17 20:05:55 +02:00
juanfont.headscale/.github/workflows/release.yml

25 lines
476 B
YAML
Raw Normal View History

2021-08-20 19:15:20 +02:00
---
name: Release
2021-06-13 13:13:17 +02:00
on:
push:
tags:
2021-10-21 21:18:50 +02:00
- "*" # triggers only if push new tag version
2021-08-20 19:37:15 +02:00
workflow_dispatch:
2021-06-13 13:13:17 +02:00
jobs:
goreleaser:
runs-on: ubuntu-latest
2021-06-13 13:13:17 +02:00
steps:
2021-10-21 21:18:50 +02:00
- name: Checkout
uses: actions/checkout@v3
2021-06-13 13:13:17 +02:00
with:
fetch-depth: 0
2021-10-21 19:56:36 +02:00
- uses: cachix/install-nix-action@v16
- name: Run goreleaser
run: nix develop --command -- goreleaser release --rm-dist
2021-06-13 13:13:17 +02:00
env:
2021-08-20 19:15:20 +02:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}