1
0
Fork 0
mirror of synced 2024-11-22 09:05:34 -05:00
openvpn-user/.github/workflows/release_arm.yaml

29 lines
806 B
YAML
Raw Normal View History

2021-10-21 02:56:29 -04:00
name: Build and publish arm binaries (releases only)
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
env:
CGO_ENABLED: 1
strategy:
matrix:
goos: [linux]
goarch: ["arm", "arm64"]
steps:
- name: checkout code
uses: actions/checkout@v2
- name: build binaries
2022-05-23 09:33:16 -04:00
uses: wangyoucao577/go-release-action@v1.28
2021-10-21 02:56:29 -04:00
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
build_command: bash ./build_arm.sh
pre_command: bash ./install-deps_arm.sh
binary_name: "openvpn-user-${{ matrix.goarch }}"
2021-10-21 05:25:23 -04:00
asset_name: openvpn-user-${{ matrix.goos }}-${{ matrix.goarch }}