Skip to content

Merge pull request #49 from refractored/dev #132

Merge pull request #49 from refractored/dev

Merge pull request #49 from refractored/dev #132

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build
on:
push:
branches:
- master
- dev
pull_request:
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.3'
- name: Build
run: go build -v -o ./build/sandwich-delivery-linux-amd64 ./src/main
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: sandwich-delivery-linux-amd64
path: ./build/sandwich-delivery-linux-amd64