-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1.33 KB
/
release-binaries.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Create GitHub release and attach binaries
on:
push:
tags: [ '*.*.*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # [email protected]
with:
go-version: '1.21'
- name: Build Filter-proxy Binaries
run: |
make build-cross
make dist checksum VERSION="${{ github.ref_name }}"
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
_dist/filter-proxy-${{ github.ref_name }}-darwin-amd64.tar.gz
_dist/filter-proxy-${{ github.ref_name }}-darwin-amd64.tar.gz.sha256
_dist/filter-proxy-${{ github.ref_name }}-darwin-arm64.tar.gz
_dist/filter-proxy-${{ github.ref_name }}-darwin-arm64.tar.gz.sha256
_dist/filter-proxy-${{ github.ref_name }}-linux-amd64.tar.gz
_dist/filter-proxy-${{ github.ref_name }}-linux-amd64.tar.gz.sha256
_dist/filter-proxy-${{ github.ref_name }}-linux-arm64.tar.gz
_dist/filter-proxy-${{ github.ref_name }}-linux-arm64.tar.gz.sha256
_dist/filter-proxy-${{ github.ref_name }}-windows-amd64.zip
_dist/filter-proxy-${{ github.ref_name }}-windows-amd64.zip.sha256