From 7e5034013e087bab59043eacc3c69c26c485d3d6 Mon Sep 17 00:00:00 2001 From: dushixiang Date: Wed, 17 Nov 2021 15:38:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20goreleaser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/goreleaser.yml | 31 ------------------------------- .goreleaser.yml | 23 ----------------------- 2 files changed, 54 deletions(-) delete mode 100644 .github/workflows/goreleaser.yml delete mode 100644 .goreleaser.yml diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml deleted file mode 100644 index c0fac88..0000000 --- a/.github/workflows/goreleaser.yml +++ /dev/null @@ -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 }} \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml deleted file mode 100644 index 73de757..0000000 --- a/.goreleaser.yml +++ /dev/null @@ -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/* \ No newline at end of file