mirror of
https://github.com/flant/ovpn-admin.git
synced 2025-12-13 04:16:14 -08:00
Bumps [wangyoucao577/go-release-action](https://github.com/wangyoucao577/go-release-action) from 1.53 to 1.54. - [Release notes](https://github.com/wangyoucao577/go-release-action/releases) - [Commits](https://github.com/wangyoucao577/go-release-action/compare/v1.53...v1.54) --- updated-dependencies: - dependency-name: wangyoucao577/go-release-action dependency-version: '1.54' dependency-type: direct:production update-type: version-update:semver-minor ... 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@v6
|
|
- name: build binaries
|
|
uses: wangyoucao577/go-release-action@v1.54
|
|
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 }}
|