Update release.yaml
This commit is contained in:
parent
f819b3a7d1
commit
f668b3a537
1 changed files with 1 additions and 4 deletions
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
|
@ -16,10 +16,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Get packages
|
|
||||||
uses: mstksg/get-package@v1
|
|
||||||
with:
|
|
||||||
apt-get: sqlite3 gcc
|
|
||||||
- name: build binaries
|
- name: build binaries
|
||||||
uses: wangyoucao577/go-release-action@v1.14
|
uses: wangyoucao577/go-release-action@v1.14
|
||||||
with:
|
with:
|
||||||
|
@ -27,5 +23,6 @@ jobs:
|
||||||
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: bash ./install-deps.sh
|
||||||
binary_name: "ovenvpn-user"
|
binary_name: "ovenvpn-user"
|
||||||
asset_name: ovenvpn-user-${{ matrix.goos }}-${{ matrix.goarch }}.
|
asset_name: ovenvpn-user-${{ matrix.goos }}-${{ matrix.goarch }}.
|
||||||
|
|
Loading…
Reference in a new issue