mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-08-13 07:33:38 +00:00
37 lines
746 B
YAML
37 lines
746 B
YAML
name: Build Releases
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
'tags':
|
|
- 'v*'
|
|
|
|
env:
|
|
GITHUB_REF: ${{ github.ref }}
|
|
GO_VERSION: '1.24.2'
|
|
|
|
jobs:
|
|
build-all:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout Backend 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: '${{ env.GO_VERSION }}'
|
|
|
|
- name: Build All
|
|
run: |
|
|
.\build_release.ps1
|
|
|
|
- name: Save Zip of all targets
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: apc-p15-tool-release
|
|
path: .\_out\_release
|