Skip to content

Merge pull request #509 from SiaFoundation/nate/fix-prometheus #759

Merge pull request #509 from SiaFoundation/nate/fix-prometheus

Merge pull request #509 from SiaFoundation/nate/fix-prometheus #759

Workflow file for this run

name: Publish
# Controls when the action will run.
on:
# Triggers the workflow on new SemVer tags
push:
branches:
- master
- its-happening
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-**"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
publish:
uses: SiaFoundation/workflows/.github/workflows/go-publish.yml@master
secrets: inherit
with:
linux-build-args: -tags=timetzdata -trimpath -a -ldflags '-s -w -linkmode external -extldflags "-static"'
windows-build-args: -tags=timetzdata -trimpath -a -ldflags '-s -w -linkmode external -extldflags "-static"'
macos-build-args: -tags=timetzdata -trimpath -a -ldflags '-s -w'
cgo-enabled: 1
project: hostd
project-desc: "hostd: A host for Sia"
version-tag: ${{ github.ref_name }}