Skip to content

release

release #8

Workflow file for this run

name: release
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup go dependencies
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: build and publish backend release
uses: goreleaser/goreleaser-action@v5
with:
args: release --clean --snapshot
distribution: goreleaser
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: upload artifacts - amd64
uses: actions/[email protected]
with:
name: node-healthchecker_linux_amd64
path: dist/node-healthchecker_linux_amd64/node-healthchecker
- name: upload artifacts - arm64
uses: actions/[email protected]
with:
name: node-healthchecker_linux_arm64
path: dist/node-healthchecker_linux_arm64/node-healthchecker