Skip to content

fix: build again

fix: build again #3

name: Build & Release
on:
push:
tags:
- 'v*'
jobs:
build-win:
name: Build & Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.21'
- name: Build for Windows
run: GOOS=windows GOARCH=amd64 go build -o ./mkbsd-win-x64.exe ./main.go
- name: Build for Linux (x64)
run: GOOS=linux GOARCH=amd64 go build -o ./mkbsd-linux-x64 ./main.go
- name: Publish Release
uses: softprops/action-gh-release@v2
with:
files: |
./mkbsd-win-x64.exe
./mkbsd-linux-x64
token: {{secrets.GH_PAT}}

Check failure on line 26 in .github/workflows/build-and-release.yml

View workflow run for this annotation

GitHub Actions / Build & Release

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-release.yml (Line: 26, Col: 18): A mapping was not expected

Check failure on line 26 in .github/workflows/build-and-release.yml

View workflow run for this annotation

GitHub Actions / Build & Release

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-release.yml (Line: 26, Col: 18): A mapping was not expected