Skip to content

Commit c77555e

Browse files
committed
gh-actions: Run the release process on GitHub actions
1 parent 0fd3293 commit c77555e

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Create Releases
2+
on:
3+
push:
4+
# Eventually run this only on release branches
5+
# branches:
6+
# - 'releases/**'
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
CARGO_NET_GIT_FETCH_WITH_CLI: true
11+
12+
jobs:
13+
release-linux:
14+
name: Release Linux
15+
runs-on: ubuntu-22.04
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Install dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y libudev-dev libasound2-dev
23+
24+
- name: Setup Rust toolchain
25+
run: rustup show
26+
27+
- uses: ruby/setup-ruby@v1
28+
with:
29+
ruby-version: '3.1'
30+
31+
- name: Build Linux tool and create deb
32+
run: ./release/release.sh
33+
34+
- name: Upload Linux deb
35+
uses: actions/upload-artifact@v3
36+
with:
37+
name: framework-inputmodule-rs-0.0.1.deb
38+
path: release/framework-inputmodule-rs-0.0.1.deb

0 commit comments

Comments
 (0)