simon 1b59a0cd55
Some checks failed
Build and Upload / build (push) Failing after 3s
Workflow1
2025-03-22 16:00:57 +01:00

31 lines
597 B
YAML

name: Build and Upload
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
container:
image: golang:1.22
options: --network host
outputs:
artifact_path: ${{ steps.build_app.outputs.artifact }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Dependencies
run: go mod tidy
- name: Build Application
id: build_app
run: |
mkdir -p dist
go build -o dist/serialToWebsocket .
echo "::set-output name=artifact::dist/serialToWebsocket"