Skip to content

Remove hard coded values from SystemD Unit and installation (#1874) #8

Remove hard coded values from SystemD Unit and installation (#1874)

Remove hard coded values from SystemD Unit and installation (#1874) #8

Workflow file for this run

---
name: publish github release artifacts with goreleaser
on:
push:
tags: '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: unshallow
run: git fetch --prune --unshallow
- name: setup-go
uses: actions/setup-go@v5
with:
go-version: "1.20"
- name: capture current date
id: date
run: echo "::set-output name=date::$(date -u '+%Y-%m-%d-%H:%M:%S-%Z')"
- name: goreleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
env:
DATE: ${{ steps.date.outputs.date }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}