Skip to content

add build workflow

add build workflow #2

Workflow file for this run

name: "build"

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

(Line: 17, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'actions/@upload-artifact@v4'
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
- name: build cmd
run:
go build ./cmd
- uses: actions/@upload-artifact@v4
with:
name: optic-programmer
path: optic-programmer