-
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (41 loc) · 1.11 KB
/
Copy pathrelease.yml
File metadata and controls
52 lines (41 loc) · 1.11 KB
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
50
51
52
name: Release
on:
push:
tags:
- 'v*'
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-action@stable
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-4-dev libwebkitgtk-6.0-dev libadwaita-1-dev
- name: Build
run: cargo build --release
- name: Create Tarball
run: |
mkdir -p releases
cp target/release/marshall releases/
cd releases
tar -czvf marshall-linux-x86_64.tar.gz marshall
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: marshall-linux
path: releases/marshall-linux-x86_64.tar.gz
release:
needs: build-linux
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
marshall-linux/marshall-linux-x86_64.tar.gz
generate_release_notes: true