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