Skip to content

Build Windows

Build Windows #2

Workflow file for this run

name: Build Windows
on:
release:
types: [published]
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: 1.25.0
- name: Install deps
run: make install_deps
- name: Build windows
run: make build_windows
- name: Rename artifacts
run: |
mv "dist/amd64/${APP_NAME}.exe" "dist/debrief-windows-${{ github.ref_name }}-amd64.exe"
mv "dist/arm64/${APP_NAME}.exe" "dist/debrief-windows-${{ github.ref_name }}-arm64.exe"
shell: bash
env:
APP_NAME: Debrief
- name: Upload Release Asset
run: |
gh release upload ${{ github.event.release.tag_name }} dist/debrief-windows-${{ github.ref_name }}-amd64.exe
gh release upload ${{ github.event.release.tag_name }} dist/debrief-windows-${{ github.ref_name }}-arm64.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash