Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
name: Package builder
|
||||||
|
run-name: ${{ gitea.actor }} is building ${{ gitea.repo }}
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
BuildPackage:
|
||||||
|
runs-on: autobuilder
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /home/builder/public/spark-extra/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: https://gitea.com/actions/checkout@v3
|
||||||
|
- name: Build the package
|
||||||
|
run: |
|
||||||
|
cd ${{ gitea.workspace }}
|
||||||
|
/build ${{ gitea.workspace }} -s --noconfirm
|
||||||
|
- name: Put the packages into the import dir
|
||||||
|
run: cp -v ./*.pkg.tar.zst /import
|
||||||
|
- name: Upload the artifacts
|
||||||
|
uses: https://gitea.com/actions/gitea-upload-artifact@v7
|
||||||
|
with:
|
||||||
|
name: packages
|
||||||
|
path: ./*.pkg.tar.zst
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
# % Trigger: 1437134783 %
|
# % Trigger: 1437134783 %
|
||||||
|
|
||||||
pkgname="posh"
|
pkgname="posh"
|
||||||
pkgver=0.14.1
|
pkgver=0.14.6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A strictly POSIX.2 compliant shell, with minimal extensions. Based on ksh."
|
pkgdesc="A strictly POSIX.2 compliant shell, with minimal extensions. Based on ksh."
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@@ -23,4 +23,4 @@ package() {
|
|||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
}
|
}
|
||||||
|
|
||||||
sha1sums=('c5d648f07b9571aefb406aeefaaeda4745013a34')
|
sha1sums=('22184f2843a474667e08cd5651ca7ef29c61524f')
|
||||||
|
|||||||
Reference in New Issue
Block a user