mirror of https://gitlab.com/fscarmen/test.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
875 B
39 lines
875 B
name: Cross compile grpcwebproxy
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
grpcwebproxy:
|
|
|
|
name: Cross compile grpcwebproxy
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
env:
|
|
workdir: ./grpcwebproxy-source
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@master
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Git clone grpcwebproxy
|
|
run: |
|
|
git clone https://github.com/improbable-eng/grpc-web.git ${{ env.workdir }}
|
|
cp ./.github/grpcwebproxy-releaser.yml ${{ env.workdir }}/.goreleaser.yml
|
|
|
|
- name: Set up GoReleaser
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.16"
|
|
|
|
- name: Run GoReleaser
|
|
uses: goreleaser/goreleaser-action@v2
|
|
with:
|
|
distribution: goreleaser
|
|
workdir: ${{ env.workdir }}
|
|
version: latest
|
|
args: release --rm-dist
|
|
|