Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
@@ -1,33 +1,24 @@
|
|||||||
name: Package builder
|
name: Package builder
|
||||||
run-name: ${{ gitea.actor }} is building ${{ gitea.repo }}
|
run-name: ${{ gitea.actor }} is building ${{ gitea.repo }}
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
BuildPackage:
|
BuildPackage:
|
||||||
runs-on: autobuilder
|
runs-on: autobuilder
|
||||||
container:
|
container:
|
||||||
volumes:
|
volumes:
|
||||||
- /home/builder/public/spark/import:/import
|
- /home/builder/public/spark/import:/import
|
||||||
steps:
|
steps:
|
||||||
- name: Show job info
|
- name: Show job info
|
||||||
run: |
|
run: |
|
||||||
echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
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 "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 }}."
|
echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Link the workdir into /buildroot # for script compatability with the old builder.
|
- name: Build the package
|
||||||
run: |
|
run: |
|
||||||
ln -vfs ${{ gitea.workspace }} /buildroot
|
cd ${{ gitea.workspace }}
|
||||||
- name: Build the package
|
/build ${{ gitea.workspace }} -s --noconfirm
|
||||||
run: |
|
- name: Put the packages into the import dir
|
||||||
cd ${{ gitea.workspace }}
|
run: cp -v ./*.pkg.tar.zst /import
|
||||||
/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 }}."
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
pkgname='ssm-services-git'
|
pkgname='ssm-services-git'
|
||||||
pkgdesc='Service scripts for ssm'
|
pkgdesc='Service scripts for ssm'
|
||||||
license=( 'BSD' )
|
license=( 'BSD' )
|
||||||
pkgver=r179.8e9c371
|
pkgver=r183.d5f37a3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=( 'any' )
|
arch=( 'any' )
|
||||||
url='https://code.fleshless.org/Spark/ssm-services'
|
url='https://code.fleshless.org/Spark/ssm-services'
|
||||||
|
|||||||
Reference in New Issue
Block a user