Build Go using an action
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 45s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 45s
This commit is contained in:
parent
3d8f1f8311
commit
fe03ce1498
15
.gitea/workflows/build-and-copy.yaml
Normal file
15
.gitea/workflows/build-and-copy.yaml
Normal file
@ -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
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,3 +21,4 @@
|
||||
# Go workspace file
|
||||
go.work
|
||||
|
||||
dist
|
Loading…
Reference in New Issue
Block a user