-
Notifications
You must be signed in to change notification settings - Fork 4
82 lines (80 loc) · 2.31 KB
/
9.3.x.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: 9.3.x
on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:
branches:
- master
jobs:
x86_64:
uses: vanilla-dpup/woof-CE/.github/workflows/[email protected]
with:
repo: vanilla-dpup/woof-CE
ref: vanilladpup-10.0.x
name: "Vanilla Dpup"
version: 9.3.${{ github.run_number }}
arch: x86_64
compat-distro: debian
compat-distro-version: bullseye64
kernel: debian-bullseye
prefix: vanilladpup
artifact: vanilladpup-x86_64-9.3.${{ github.run_number }}
retention: 1
runner: 'ubuntu-20.04'
x86:
uses: vanilla-dpup/woof-CE/.github/workflows/[email protected]
with:
repo: vanilla-dpup/woof-CE
ref: vanilladpup-10.0.x
name: "Vanilla Dpup"
version: 9.3.${{ github.run_number }}
arch: x86
compat-distro: debian
compat-distro-version: bullseye
kernel: debian-bullseye
prefix: vanilladpup
artifact: vanilladpup-x86-9.3.${{ github.run_number }}
retention: 1
runner: 'ubuntu-20.04'
upload:
needs: [x86_64, x86]
runs-on: ubuntu-20.04
strategy:
matrix:
arch: [x86_64, x86]
steps:
- name: Download build artifact
uses: actions/download-artifact@v3
with:
name: vanilladpup-${{ matrix.arch }}-9.3.${{ github.run_number }}
path: .
- name: Rename ISO
run: mv -f *.iso vanilladpup-9.3.${{ github.run_number }}.iso
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: vanilladpup-${{ matrix.arch }}-9.3.${{ github.run_number }}
tag_name: vanilladpup-${{ matrix.arch }}-9.3.${{ github.run_number }}
fail_on_unmatched_files: true
files: |
*.iso
kernel_sources-*.sfs
cleanup:
needs: upload
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- arch: x86_64
keep: 1
- arch: x86
keep: 1
steps:
- name: Delete old ${{ matrix.arch }} releases
uses: dev-drprasad/[email protected]
with:
keep_latest: ${{ matrix.keep }}
delete_tag_pattern: vanilladpup-${{ matrix.arch }}-9.3.
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}