Initial commit

This commit is contained in:
solus 2025-05-04 03:58:36 +03:00
commit 7e44b8dac6

View file

@ -0,0 +1,24 @@
name: Build
on:
push:
branches:
- master
jobs:
build:
name: Build project
runs-on: shell
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build package
run: |
sudo solbuild build --profile main-x86_64
- name: Copy to NFS
run: |
ctn-tool \
--project-name "$(echo ${{ env.GITHUB_REPOSITORY }} | cut -d'/' -f2)" \
--source-dir ./ \
--nfs-address ${{ secrets.NFS_ADDRESS }} \
--nfs-port ${{ secrets.NFS_PORT }} \
--nfs-path ${{ secrets.NFS_PATH }} \
--gpg-key ${{ secrets.GPG_KEY }}