1
0
Fork 0
mirror of synced 2024-11-05 01:08:57 -05:00
ovpn-admin/.github/workflows/release_arm.yaml

30 lines
815 B
YAML
Raw Normal View History

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
2023-10-09 11:25:23 -04:00
uses: wangyoucao577/go-release-action@v1.40
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2021-11-29 04:57:45 -05:00
goversion: 1.17
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
2021-11-29 05:40:05 -05:00
build_command: bash -ex ./build_arm.sh
pre_command: bash -ex ./install-deps-arm.sh
binary_name: "ovpn-admin"
asset_name: ovpn-admin-${{ matrix.goos }}-${{ matrix.goarch }}