Skip to content

Commit 7b8d1f7

Browse files
authored
Merge pull request #16 from simonwalz/workflow-release
CI: Create Release Workflow
2 parents 6d44e46 + 2131b31 commit 7b8d1f7

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/release.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: create package structure
15+
run: |
16+
mkdir -p .debpkg/usr/bin .rpmpkg/usr/bin
17+
cp -p screen-* .debpkg/usr/bin/
18+
cp -p screen-* .rpmpkg/usr/bin/
19+
- uses: jiro4989/build-deb-action@v3
20+
with:
21+
package: screen-save
22+
package_root: .debpkg
23+
maintainer: Simon Walz <contact@simonwalz.de>
24+
version: ${{ github.ref }} # refs/tags/v*.*.*
25+
arch: 'all'
26+
depends: 'screen'
27+
desc: 'A tool to make screen sessions persistent = survive system reboots.'
28+
homepage: 'https://github.com/simonwalz/screen-save'
29+
- uses: jiro4989/build-rpm-action@v2
30+
with:
31+
summary: 'A tool to make screen sessions persistent = survive system reboots.'
32+
package: screen-save
33+
package_root: .rpmpkg
34+
maintainer: Simon Walz <contact@simonwalz.de>
35+
version: ${{ github.ref }} # refs/tags/v*.*.*
36+
arch: 'noarch'
37+
desc: 'A tool to make screen sessions persistent = survive system reboots.'

0 commit comments

Comments
 (0)