Skip to content

Commit fefa936

Browse files
committed
workflows: started release workflow
1 parent 29d17a3 commit fefa936

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [ created ]
6+
7+
jobs:
8+
generate:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
# Build .deb file
14+
- uses: ./.github/actions/build-deb
15+
id: debian
16+
name: Debian Package
17+
with:
18+
args: --unsigned-source --unsigned-changes --no-sign
19+
20+
# Build .pkg.tar.xz file
21+
- uses: ./.github/actions/build-arch
22+
name: ArchLinux Package
23+
id: arch
24+
25+
# Build NSIS file
26+
- uses: ./.github/actions/build-nsis
27+
name: Windows Package
28+
id: windows
29+
30+
# Publish artifacts to github tag.
31+
- name: Publish to Github
32+
uses: skx/github-action-publish-binaries@master
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
with:
36+
args: '${{ steps.debian.outputs.filename }} ${{ steps.arch.outputs.filename }} ${{ steps.windows.outputs.filename }}'

0 commit comments

Comments
 (0)