forked from KDE/libqapt
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 1.29 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Push to CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
debian:
name: Debian 13 Trixie
runs-on: ubuntu-latest
container: docker.io/library/debian:trixie
steps:
- name: Install Dependencies
run: |
apt-get update
apt-get install -y sudo git
- name: Checkout Source
uses: actions/checkout@v3
- name: Init Git Repo
run: |
git config --global --add safe.directory $(realpath .)
- name: Build Debian Src Package
uses: LingmoOS/[email protected]
with:
add-suffix: true
build-binary: false
build-source: true
output-dir: ./debian-deb-output
source-dir: ./
- uses: actions/upload-artifact@v4
with:
name: Source DEB Artifacts
path: debian-deb-output
compression-level: 9 # maximum compression
- name: Upload to OBS
uses: LingmoOS/[email protected]
with:
remove-old-sources: true
obs-package-name: 'libqapt6'
obs-project-name: 'home:elysia:LingmoOS:CI'
obs-user-name: ${{ secrets.OBS_CI_USERNAME }}
obs-password: ${{ secrets.OBS_CI_TOKEN }}
obs-instance-url: 'https://api.opensuse.org'
local-package-dir: './debian-deb-output'