v++, Actions
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 24m37s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 24m37s
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
c5d5385e9e
commit
c780b4a9ae
33
.gitea/workflows/build-package.yaml
Normal file
33
.gitea/workflows/build-package.yaml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Explore-Gitea-Actions:
|
||||||
|
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: 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 }}."
|
4
PKGBUILD
4
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#pkgbase=
|
#pkgbase=
|
||||||
pkgname=anope-services
|
pkgname=anope-services
|
||||||
pkgver=2.0.11
|
pkgver=2.0.14
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A set of IRC Services designed for flexibility and ease of use'
|
pkgdesc='A set of IRC Services designed for flexibility and ease of use'
|
||||||
url='http://anope.org'
|
url='http://anope.org'
|
||||||
|
@ -63,5 +63,5 @@ package() {
|
||||||
cp -r locale/* "${pkgdir}/usr/lib/${pkgname}/locale"
|
cp -r locale/* "${pkgdir}/usr/lib/${pkgname}/locale"
|
||||||
}
|
}
|
||||||
|
|
||||||
sha1sums=('472b0cd3f6170743ddb3d3eb6546f55b623a6813'
|
sha1sums=('7d3adec5a4c10099a3f0a1089208b7afe619c88c'
|
||||||
'884af887bf5cde2f74f8edb38fabed3e616b6535')
|
'884af887bf5cde2f74f8edb38fabed3e616b6535')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user