2023-11-12 22:41:47 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
schedule:
|
2023-11-29 07:43:52 +01:00
|
|
|
- cron: "0 1 * * *" # every night at 1 AM
|
2023-11-12 22:41:47 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
2023-11-12 23:05:03 +01:00
|
|
|
# One step per package
|
2023-11-12 22:41:47 +01:00
|
|
|
|
2024-04-28 18:05:46 +02:00
|
|
|
nextcloud-28: &job
|
2023-11-12 22:41:47 +01:00
|
|
|
runs-on: docker
|
|
|
|
container:
|
2023-11-12 22:47:13 +01:00
|
|
|
image: git.kabelsalat.ch/s3lph/package-pipeline-builder:latest
|
2023-11-12 23:02:51 +01:00
|
|
|
env:
|
|
|
|
API_REPOSITORY_DEB: ${{ secrets.API_REPOSITORY_DEB }}
|
|
|
|
API_USERNAME: ${{ secrets.API_USERNAME }}
|
|
|
|
API_PASSWORD: ${{ secrets.API_PASSWORD }}
|
|
|
|
MAINTAINER: ${{ secrets.MAINTAINER }}
|
2023-11-12 22:41:47 +01:00
|
|
|
steps:
|
2023-11-29 07:43:52 +01:00
|
|
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
2023-11-12 22:41:47 +01:00
|
|
|
- run: |
|
|
|
|
cd "${GITHUB_JOB}"
|
|
|
|
[ -x build.sh ] && ./build.sh
|
|
|
|
[ -x package.sh ] && fakeroot ./package.sh
|
|
|
|
cd build
|
|
|
|
lintian *.deb || true
|
|
|
|
# Upload to the repo
|
|
|
|
for file in *deb; do
|
|
|
|
curl --user "${API_USERNAME}:${API_PASSWORD}" \
|
|
|
|
--upload-file "${file}" \
|
|
|
|
"${API_REPOSITORY_DEB}"
|
|
|
|
done
|
2023-12-14 00:56:30 +01:00
|
|
|
nextcloud-28-app-calendar: *job
|
|
|
|
nextcloud-28-app-contacts: *job
|
|
|
|
nextcloud-28-app-deck: *job
|
|
|
|
nextcloud-28-app-forms: *job
|
|
|
|
nextcloud-28-app-gpoddersync: *job
|
|
|
|
nextcloud-28-app-gpxpod: *job
|
|
|
|
nextcloud-28-app-groupfolders: *job
|
|
|
|
nextcloud-28-app-polls: *job
|
|
|
|
nextcloud-28-app-previewgenerator: *job
|
|
|
|
nextcloud-28-app-mail: *job
|
2024-05-08 23:43:55 +02:00
|
|
|
nextcloud-28-app-memories: *job
|
2023-12-14 00:56:30 +01:00
|
|
|
nextcloud-28-app-news: *job
|
|
|
|
nextcloud-28-app-nextpod: *job
|
|
|
|
nextcloud-28-app-notes: *job
|
|
|
|
nextcloud-28-app-notify-push: *job
|
|
|
|
nextcloud-28-app-richdocuments: *job
|
|
|
|
nextcloud-28-app-richdocumentscode: *job
|
|
|
|
nextcloud-28-app-talk: *job
|
|
|
|
nextcloud-28-app-tasks: *job
|
|
|
|
nextcloud-28-app-twofactor-webauthn: *job
|
|
|
|
nextcloud-28-app-user-oidc: *job
|
|
|
|
|
2024-04-28 18:05:46 +02:00
|
|
|
nextcloud-29: *job
|
|
|
|
nextcloud-29-app-calendar: *job
|
|
|
|
nextcloud-29-app-contacts: *job
|
|
|
|
nextcloud-29-app-deck: *job
|
|
|
|
nextcloud-29-app-forms: *job
|
|
|
|
nextcloud-29-app-gpoddersync: *job
|
|
|
|
nextcloud-29-app-gpxpod: *job
|
|
|
|
nextcloud-29-app-groupfolders: *job
|
|
|
|
nextcloud-29-app-polls: *job
|
|
|
|
nextcloud-29-app-previewgenerator: *job
|
|
|
|
nextcloud-29-app-mail: *job
|
2024-05-08 23:43:55 +02:00
|
|
|
nextcloud-29-app-memories: *job
|
2024-04-28 18:05:46 +02:00
|
|
|
nextcloud-29-app-news: *job
|
|
|
|
nextcloud-29-app-nextpod: *job
|
|
|
|
nextcloud-29-app-notes: *job
|
|
|
|
nextcloud-29-app-notify-push: *job
|
|
|
|
nextcloud-29-app-richdocuments: *job
|
|
|
|
nextcloud-29-app-richdocumentscode: *job
|
|
|
|
nextcloud-29-app-talk: *job
|
|
|
|
nextcloud-29-app-tasks: *job
|
|
|
|
nextcloud-29-app-twofactor-webauthn: *job
|
|
|
|
nextcloud-29-app-user-oidc: *job
|
|
|
|
|