Skip to content

⏰ Persistent Stopwatch #6

⏰ Persistent Stopwatch

⏰ Persistent Stopwatch #6

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up env
run: |
VERSION=${GITHUB_REF_NAME#v}
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
cache: true
- name: Build
run: make builds
- name: Archive
run: make archives
- name: Release
run: make release VERSION=$VERSION
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}