Skip to content

Commit 4e4ea19

Browse files
committed
ADD: GitHub release action
1 parent 7921ce5 commit 4e4ea19

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: build-release
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types: [released]
7+
8+
concurrency:
9+
group: ${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build-lin:
14+
runs-on: ubuntu-20.04
15+
steps:
16+
- name: Install Lazarus
17+
run: sudo apt install lazarus
18+
19+
- name: Install GTK library
20+
run: sudo apt install libgtk2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
21+
22+
- name: Checkout source
23+
uses: actions/checkout@v2
24+
25+
- name: Build packages
26+
run: ./build.sh
27+
28+
- name: Upload binaries to release
29+
uses: svenstaro/upload-release-action@v2
30+
with:
31+
file: plugins-*.tar.gz
32+
tag: ${{ github.ref }}
33+
overwrite: true
34+
file_glob: true

0 commit comments

Comments
 (0)