Skip to content

minor changes

minor changes #30

Workflow file for this run

name: build-windows
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
permissions:
contents: write
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ windows-latest ]
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
- name: Build
run: |
go build -o ./flightplanfiller.exe .
ls
- name: Save executable
uses: actions/upload-artifact@v3
with:
name: flightplanfiller.exe
path: flightplanfiller.exe
- name: Upload release (maybe)
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: 'flightplanfiller.exe'