Files
nextcloud-samba-sync/.gitea/workflows/build.yml
bartfaik04 bd9ccd33ef
Some checks failed
Build / build (push) Failing after 27s
Cloning project in CI
2025-06-02 16:27:29 +02:00

30 lines
576 B
YAML

name: Build
on:
push: {}
defaults:
run:
shell: bash
working-directory: .
jobs:
build:
runs-on: ubuntu
container:
image: ubuntu:24.04
steps:
- name: Install tools
run: apt update && apt install -y build-essential git
- name: Clone repository
run: git clone "${GITEA_REPOSITORY_URL}" project && cp -r project/* ./
- name: Compile project
run: make
- name: Save build output
uses: actions/upload-artifact@v3
with:
name: ncsambawatcher
path: ./ncsambawatcher