skruecken 269c6190bd
Some checks failed
Build / Build (push) Failing after 1m52s
.gitea/workflows/build.yaml aktualisiert
2025-03-22 17:32:54 +01:00

28 lines
741 B
YAML

name: Build
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
container:
image: golang:latest
options: --network host
steps:
- run: |
apt-get update
apt-get install -y nodejs npm
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: go mod tidy
- run: go build .
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: serialToWebsocket
path: .
- run: echo "This job's status is ${{ job.status }}."