移除 goreleaser

This commit is contained in:
dushixiang
2021-11-17 15:38:34 +08:00
parent b9fbd70a4c
commit 7e5034013e
2 changed files with 0 additions and 54 deletions

View File

@ -1,31 +0,0 @@
name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Private Actions Checkout
uses: actions/checkout@v2.3.4
- name: node Setup
uses: actions/setup-node@v2
with:
node-version: '14'
- name: npm install
run: |
cd web
npm install
npm run build
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
go-version: 1.17
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,23 +0,0 @@
builds:
- env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
checksum:
name_template: "checksums.txt"
release:
# Same as for github
# Note: it can only be one: either github, gitlab or gitea
github:
owner: dushixiang
name: next-terminal
# You can add extra pre-existing files to the release.
# The filename on the release will be the last part of the path (base). If
# another file with the same name exists, the latest one found will be used.
# Defaults to empty.
# extra_files:
# - glob: ./web/build/*