1
0
Fork 0
mirror of synced 2024-11-25 10:25:34 -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] goos: [linux, windows, darwin]
goarch: ["386", amd64] goarch: ["386", amd64]
steps: steps:
- uses: actions/checkout@v2 - name: checkout code
- uses: wangyoucao577/go-release-action@v1.14 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: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }} goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }} goarch: ${{ matrix.goarch }}
ldflags: '-linkmode external -extldflags "-static" -s -w' ldflags: '-linkmode external -extldflags "-static" -s -w'
pre_command: apt-get update && apt-get install -y libsqlite3 gcc
binary_name: "ovenvpn-user" binary_name: "ovenvpn-user"
asset_name: ovenvpn-user-${{ matrix.goos }}-${{ matrix.goarch }}. asset_name: ovenvpn-user-${{ matrix.goos }}-${{ matrix.goarch }}.