Compare commits

..

3 Commits

Author SHA1 Message Date
fbt
4d0678268b repo
All checks were successful
Package builder / BuildPackage (push) Successful in 42s
Signed-off-by: fbt <fbt@fleshless.org>
2023-10-26 00:17:26 +00:00
fbt
118a94f6fe Actions.
Signed-off-by: fbt <fbt@fleshless.org>
2023-10-26 00:17:02 +00:00
fbt
faef457f83 Actions.
Signed-off-by: fbt <fbt@fleshless.org>
2023-10-26 00:10:35 +00:00

View File

@ -0,0 +1,33 @@
name: Package builder
run-name: ${{ gitea.actor }} is building ${{ gitea.repo }}
on: [push]
jobs:
BuildPackage:
runs-on: autobuilder
container:
volumes:
- /home/builder/public/spark-testing/import:/import
steps:
- name: Show job info
run: |
echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- name: Link the workdir into /buildroot # for script compatability with the old builder.
run: |
ln -vfs ${{ gitea.workspace }} /buildroot
- name: Build the package
run: |
cd ${{ gitea.workspace }}
/build -s --noconfirm
# - name: Upload artifacts
# uses: actions/upload-artifact@v3
# with:
# name: package
# path: ./*.pkg.tar.zst
- name: Put the packages into the import dir
run: cp -v ./*.pkg.tar.zst /import
- run: echo "This job's status is ${{ job.status }}."