Compare commits
14 Commits
0.1.0-alph
...
0.1.0-alph
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7ec91b5b5e | ||
![]() |
425d14e3af | ||
![]() |
1575047197 | ||
![]() |
1942b251c7 | ||
![]() |
73219067f4 | ||
![]() |
252aebce4b | ||
![]() |
05cf85e0e5 | ||
![]() |
89725c2da2 | ||
![]() |
4d3fbeee8f | ||
![]() |
0b54c48f04 | ||
![]() |
496b267cc4 | ||
![]() |
c72c8d3232 | ||
![]() |
acab410141 | ||
![]() |
695614497c |
24
.github/workflows/release.yaml
vendored
24
.github/workflows/release.yaml
vendored
@@ -3,24 +3,32 @@ on:
|
|||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
releases-matrix:
|
releases-windows:
|
||||||
name: Release Authorizer Binary
|
name: Release Authorizer Binary
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
|
goos: [windows]
|
||||||
goos: [linux, windows, darwin]
|
|
||||||
goarch: [amd64]
|
goarch: [amd64]
|
||||||
# goarch: ['386', amd64]
|
|
||||||
# exclude:
|
|
||||||
# - goarch: '386'
|
|
||||||
# goos: darwin
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: sudo apt-get install build-essential
|
||||||
|
- name: Install windows dependencies
|
||||||
|
if: ${{ matrix.goos == 'windows'}}
|
||||||
|
run: sudo apt-get install gcc-mingw-w64
|
||||||
|
- name: Set VERSION env
|
||||||
|
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
|
||||||
|
- name: Set GO_ENABLED env
|
||||||
|
run: echo CGO_ENABLED=1 >> ${GITHUB_ENV}
|
||||||
|
- name: Set Windows C Compiler GO env
|
||||||
|
if: ${{ matrix.goos == 'windows'}}
|
||||||
|
run: echo CC=/usr/bin/x86_64-w64-mingw32-gcc >> ${GITHUB_ENV}
|
||||||
- uses: wangyoucao577/go-release-action@v1.20
|
- uses: wangyoucao577/go-release-action@v1.20
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.RELEASE_TOKEN }}
|
github_token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
goos: ${{ matrix.goos }}
|
goos: ${{ matrix.goos }}
|
||||||
goarch: ${{ matrix.goarch }}
|
goarch: ${{ matrix.goarch }}
|
||||||
build_command: make clean && make
|
build_command: make clean && make
|
||||||
extra_files: .env.sample app build
|
md5sum: FALSE
|
||||||
|
extra_files: .env.sample app build template
|
||||||
|
Reference in New Issue
Block a user