mirror of
https://github.com/pushbits/server.git
synced 2025-05-03 20:26:23 +02:00
Remove GoReleaser configuration
The build throws an error message: '403 Resource not accessible by integration []' The documentation suggests using a PAT instead, but I would like to avoid this.
This commit is contained in:
parent
2e087d98b1
commit
473a005f45
2 changed files with 0 additions and 60 deletions
41
.github/workflows/goreleaser.yml
vendored
41
.github/workflows/goreleaser.yml
vendored
|
@ -1,41 +0,0 @@
|
|||
name: GoReleaser
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||
|
||||
jobs:
|
||||
test_build_goreleaser:
|
||||
name: Test, build, and GoReleaser
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Export GOBIN
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
|
||||
- name: Install Poetry
|
||||
run: curl -sSL https://install.python-poetry.org | python3 -
|
||||
|
||||
- name: Install dependencies
|
||||
run: make setup
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
source $(poetry env info --path)/bin/activate
|
||||
make test
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -1,19 +0,0 @@
|
|||
builds:
|
||||
- id: pushbits
|
||||
main: ./cmd/pushbits
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
- 386
|
||||
- arm
|
||||
- arm64
|
||||
|
||||
checksum:
|
||||
algorithm: sha256
|
||||
|
||||
archives:
|
||||
- id: pushbits
|
||||
builds:
|
||||
- pushbits
|
||||
format: tar.gz
|
Loading…
Add table
Reference in a new issue