Skip to content

Commit

Permalink
ci: disable boringSSL build
Browse files Browse the repository at this point in the history
  • Loading branch information
regel committed May 26, 2023
1 parent c8acf80 commit 43a162b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 47 deletions.
45 changes: 16 additions & 29 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
release:
types: [created]

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -25,35 +28,19 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0

-
name: Delete .dockerignore file
run: rm -f .dockerignore
-
name: Prepare
id: prep
run: |
TAG=${GITHUB_REF#refs/tags/}
echo ::set-output name=version::${TAG}
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20

-
name: Run Goreleaser on Goboring docker image
uses: docker/build-push-action@v1
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
repository: build/goboring
dockerfile: Dockerfile_releaser
push: false
build_args: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }},TAG=${{ steps.prep.outputs.version }},HOMEBREW_TAP_GITHUB_TOKEN=${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

# -
# name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.20
# -
# name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v4
# with:
# version: latest
# args: release --clean
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
36 changes: 18 additions & 18 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ builds:
goarch: arm64
env:
- CGO_ENABLED=0
- id: goboring
main: main.go
binary: wsb
goos:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=1
# - id: goboring
# main: main.go
# binary: wsb
# goos:
# - linux
# goarch:
# - amd64
# env:
# - CGO_ENABLED=1

archives:
- id: default
Expand All @@ -46,15 +46,15 @@ archives:
- README.md
builds:
- default
- id: goboring
format: tar.gz
replacements:
amd64: 64-bit_goboring
files:
- LICENSE
- README.md
builds:
- goboring
# - id: goboring
# format: tar.gz
# replacements:
# amd64: 64-bit_goboring
# files:
# - LICENSE
# - README.md
# builds:
# - goboring


# Check https://goreleaser.com/customization/homebrew/
Expand Down

0 comments on commit 43a162b

Please sign in to comment.