Skip to content

ci: not cancel old commit test #21

ci: not cancel old commit test

ci: not cancel old commit test #21

Workflow file for this run

name: Goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
build-ui:
uses: ./.github/workflows/build-ui.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
goreleaser:
needs: build-ui
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get tags
run: git fetch --tags
- uses: actions/setup-go@v5
with:
go-version: stable
cache: true
check-latest: true
- name: Download UI file
uses: actions/download-artifact@v4
with:
name: ui
- name: Move UI file
run: mv index.html internal/webui/index.html
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}