package-pipeline-nextcloud/.forgejo/workflows/package.yml
s3lph 3e2857c2a5
All checks were successful
/ nextcloud-30 (push) Successful in 16m37s
/ nextcloud-30-app-calendar (push) Successful in 3m14s
/ nextcloud-30-app-contacts (push) Successful in 2m4s
/ nextcloud-30-app-deck (push) Successful in 3m14s
/ nextcloud-30-app-forms (push) Successful in 2m22s
/ nextcloud-30-app-gpoddersync (push) Successful in 1m12s
/ nextcloud-30-app-gpxpod (push) Successful in 4m30s
/ nextcloud-30-app-groupfolders (push) Successful in 1m54s
/ nextcloud-30-app-polls (push) Successful in 1m54s
/ nextcloud-30-app-previewgenerator (push) Successful in 1m10s
/ nextcloud-30-app-mail (push) Successful in 5m47s
/ nextcloud-30-app-memories (push) Successful in 5m57s
/ nextcloud-30-app-news (push) Successful in 2m36s
/ nextcloud-30-app-nextpod (push) Successful in 1m26s
/ nextcloud-30-app-notes (push) Successful in 2m2s
/ nextcloud-30-app-notify-push (push) Successful in 4m12s
/ nextcloud-30-app-richdocuments (push) Successful in 2m53s
/ nextcloud-30-app-richdocumentscode (push) Successful in 6m50s
/ nextcloud-30-app-talk (push) Successful in 4m32s
/ nextcloud-30-app-tasks (push) Successful in 1m47s
/ nextcloud-30-app-twofactor-webauthn (push) Successful in 2m52s
/ nextcloud-30-app-user-oidc (push) Successful in 1m1s
chore: remove nextcloud-29
2024-10-18 02:21:35 +02:00

57 lines
1.6 KiB
YAML

---
on:
push:
branches:
- main
schedule:
- cron: "0 1 * * *" # every night at 1 AM
jobs:
# One step per package
nextcloud-30: &job
runs-on: docker
container:
image: git.kabelsalat.ch/s3lph/package-pipeline-builder:latest
env:
API_REPOSITORY_DEB: ${{ secrets.API_REPOSITORY_DEB }}
API_USERNAME: ${{ secrets.API_USERNAME }}
API_PASSWORD: ${{ secrets.API_PASSWORD }}
MAINTAINER: ${{ secrets.MAINTAINER }}
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- 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
nextcloud-30-app-calendar: *job
nextcloud-30-app-contacts: *job
nextcloud-30-app-deck: *job
nextcloud-30-app-forms: *job
nextcloud-30-app-gpoddersync: *job
nextcloud-30-app-gpxpod: *job
nextcloud-30-app-groupfolders: *job
nextcloud-30-app-polls: *job
nextcloud-30-app-previewgenerator: *job
nextcloud-30-app-mail: *job
nextcloud-30-app-memories: *job
nextcloud-30-app-news: *job
nextcloud-30-app-nextpod: *job
nextcloud-30-app-notes: *job
nextcloud-30-app-notify-push: *job
nextcloud-30-app-richdocuments: *job
nextcloud-30-app-richdocumentscode: *job
nextcloud-30-app-talk: *job
nextcloud-30-app-tasks: *job
nextcloud-30-app-twofactor-webauthn: *job
nextcloud-30-app-user-oidc: *job