simon 1f05960ffc
All checks were successful
Build / Build (push) Successful in 1m52s
Reworked Gitea Actions
2025-05-19 21:24:23 +02:00

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