Skip to content

Commit

Permalink
Merge pull request #25 from bitvora/dev-githubWorkflows
Browse files Browse the repository at this point in the history
remove docker build, add release
  • Loading branch information
barrydeen authored Sep 12, 2024
2 parents cead2aa + 0f3578c commit 87fb79f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/docker-build.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: build relay for all platforms

on:
push:
tags:
- "*"

permissions:
contents: write

jobs:
make-release:
runs-on: ubuntu-latest
steps:
- uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
build-all-for-all:
runs-on: ubuntu-latest
needs:
- make-release
strategy:
matrix:
goos: [linux, freebsd, darwin, windows]
goarch: [amd64, arm64, riscv64]
exclude:
- goarch: arm64
goos: windows
- goarch: riscv64
goos: windows
- goarch: riscv64
goos: darwin
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
overwrite: true
md5sum: false
sha256sum: false
compress_assets: false

0 comments on commit 87fb79f

Please sign in to comment.