Skip to content

fix: tag ci error (#21) #52

fix: tag ci error (#21)

fix: tag ci error (#21) #52

Workflow file for this run

name: SeaMoon
on:
push:
tags:
- "*"
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Build
run: go build --ldflags "-s -w -X github.com/DVKunion/SeaMoon/pkg/consts.Version=${{github.ref_name}}" cmd/main.go