Skip to content

Commit

Permalink
added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Gore committed Mar 5, 2024
1 parent 7d23d5a commit f6009c3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Upload Artifact

on:
push:
branches:
- main # replace with your default branch if not 'main'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21 # replace with your Go version

- name: Build
run: go build -v ./...

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: my-artifact
path: ./tailtrail
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.env

tailtrail

0 comments on commit f6009c3

Please sign in to comment.