1
0
Fork 0
mirror of synced 2024-12-21 22:21:07 -05:00

Update release.yaml

This commit is contained in:
Ilya Sosnovsky 2021-02-14 12:26:13 +03:00 committed by GitHub
parent e8ad0ce1f4
commit e768b89411
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,13 +14,18 @@ jobs:
goos: [linux, windows, darwin]
goarch: ["386", amd64]
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.14
- name: checkout code
uses: actions/checkout@v2
- name: Get packages
uses: mstksg/get-package@v1
with:
apt-get: libsqlite3 gcc
- name: build binaries
uses: wangyoucao577/go-release-action@v1.14
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: '-linkmode external -extldflags "-static" -s -w'
pre_command: apt-get update && apt-get install -y libsqlite3 gcc
binary_name: "ovenvpn-user"
asset_name: ovenvpn-user-${{ matrix.goos }}-${{ matrix.goarch }}.