-
Notifications
You must be signed in to change notification settings - Fork 2
61 lines (59 loc) · 1.79 KB
/
11.0.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
name: 11.0.x
on:
schedule:
- cron: '0 0 * * SAT'
workflow_dispatch:
branches:
- master
jobs:
labwc64:
uses: vanilla-dpup/woof-CE/.github/workflows/[email protected]
with:
repo: vanilla-dpup/woof-CE
ref: vanilladpup-11.0.x
name: "Vanilla Dpup"
version: 11.0.${{ github.run_number }}
arch: x86_64
compat-distro: debian
compat-distro-version: trixie64
kernel: debian-trixie
prefix: vanilladpup
artifact: vanilladpup-x86_64-11.0.${{ github.run_number }}-labwc
retention: 1
upload64:
needs: [labwc64]
runs-on: ubuntu-20.04
steps:
- name: Download labwc build artifact
uses: actions/download-artifact@v3
with:
name: vanilladpup-x86_64-11.0.${{ github.run_number }}-labwc
path: labwc
- name: Rename ISO
run: |
mv -f labwc/*-bios.img.gz vanilladpup-11.0.${{ github.run_number }}-labwc-bios.img.gz
mv -f labwc/*-uefi.img.gz vanilladpup-11.0.${{ github.run_number }}-labwc-uefi.img.gz
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: vanilladpup-x86_64-11.0.${{ github.run_number }}
tag_name: vanilladpup-x86_64-11.0.${{ github.run_number }}
fail_on_unmatched_files: true
files: |
*.img.gz
labwc/woof-CE.tar.gz
cleanup:
needs: [upload64]
runs-on: ubuntu-20.04
strategy:
matrix:
arch: [x86_64]
steps:
- name: Delete old ${{ matrix.arch }} releases
uses: dev-drprasad/[email protected]
with:
keep_latest: 1
delete_tag_pattern: vanilladpup-${{ matrix.arch }}-11.0.
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}