Skip to content

ci: fix main entry

ci: fix main entry #5

Workflow file for this run

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