mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-08-15 08:22:33 +00:00
36 lines
709 B
YAML
36 lines
709 B
YAML
name: Build Releases
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
'tags':
|
|
- 'v*'
|
|
|
|
env:
|
|
GITHUB_REF: ${{ github.ref }}
|
|
|
|
jobs:
|
|
build-all:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: gregtwallace/apc-p15-tool
|
|
ref: ${{ env.GITHUB_REF }}
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
|
|
- name: Build All
|
|
run: |
|
|
python ./build_release.py
|
|
|
|
- name: Save Zip of all targets
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: apc-p15-tool-release
|
|
path: ./_out/_release
|