Build Go using an action
Build and copy to prod / build-and-copy (push) Successful in 45s
Details
Build and copy to prod / build-and-copy (push) Successful in 45s
Details
This commit is contained in:
parent
3d8f1f8311
commit
fe03ce1498
|
@ -0,0 +1,15 @@
|
|||
name: Build and copy to prod
|
||||
on:
|
||||
push:
|
||||
jobs:
|
||||
build-and-copy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22
|
||||
- name: Build binary
|
||||
run: go build -o dist/oopsie
|
|
@ -21,3 +21,4 @@
|
|||
# Go workspace file
|
||||
go.work
|
||||
|
||||
dist
|
Loading…
Reference in New Issue