Skip to content

v0.3.0

v0.3.0 #14

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@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.22.1
- name: Install gogio tool
run: go install gioui.org/cmd/gogio@latest
- name: Build windows
run: make build_windows
- name: Upload Release Asset
run: |
gh release upload ${{ github.event.release.tag_name }} ./dist/chapar-windows-${{ github.ref_name }}-amd64.zip
gh release upload ${{ github.event.release.tag_name }} ./dist/chapar-windows-${{ github.ref_name }}-i386.zip
gh release upload ${{ github.event.release.tag_name }} ./dist/chapar-windows-${{ github.ref_name }}-arm64.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash