移除 goreleaser
This commit is contained in:
31
.github/workflows/goreleaser.yml
vendored
31
.github/workflows/goreleaser.yml
vendored
@ -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 }}
|
|
@ -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/*
|
|
Reference in New Issue
Block a user