skruecken e30a95ee9c
All checks were successful
Build / Build (push) Successful in 1m37s
.gitea/workflows/build.yaml aktualisiert
2025-03-22 23:51:53 +01:00

29 lines
793 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 .
- run: ls -lah ${{ gitea.workspace }}
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: serialToWebsocket
path: ./go.sum
- run: echo "This job's status is ${{ job.status }}."