mirror of
https://github.com/flant/ovpn-admin.git
synced 2025-12-13 04:16:14 -08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
815 B
YAML
30 lines
815 B
YAML
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@v4
|
|
- name: build binaries
|
|
uses: wangyoucao577/go-release-action@v1.53
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
goversion: 1.23
|
|
goos: ${{ matrix.goos }}
|
|
goarch: ${{ matrix.goarch }}
|
|
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 }}
|