-
Notifications
You must be signed in to change notification settings - Fork 4
49 lines (45 loc) · 1.44 KB
/
release.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
name: release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: create package structure
run: |
mkdir -p .debpkg/usr/bin .rpmpkg/usr/bin
cp -p screen-* .debpkg/usr/bin/
cp -p screen-* .rpmpkg/usr/bin/
- uses: jiro4989/build-deb-action@v3
with:
package: screen-save
package_root: .debpkg
maintainer: Simon Walz <contact@simonwalz.de>
version: ${{ github.ref }} # refs/tags/v*.*.*
arch: 'all'
depends: 'screen'
desc: 'A tool to make screen sessions persistent = survive system reboots.'
homepage: 'https://github.com/simonwalz/screen-save'
- uses: jiro4989/build-rpm-action@v2
with:
summary: 'A tool to make screen sessions persistent = survive system reboots.'
package: screen-save
package_root: .rpmpkg
maintainer: Simon Walz <contact@simonwalz.de>
version: ${{ github.ref }} # refs/tags/v*.*.*
arch: 'x86_64'
desc: 'A tool to make screen sessions persistent = survive system reboots.'
- uses: actions/upload-artifact@v4
with:
name: artifact-deb
path: |
./*.deb
- uses: actions/upload-artifact@v4
with:
name: artifact-rpm
path: |
./*.rpm
!./*-debuginfo-*.rpm