-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.01 KB
/
release.yaml
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
name: release
permissions:
contents: write
on:
workflow_dispatch:
push:
pull_request:
branches: [v2.1]
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
include:
- os: macos-latest
binary: morrobroom
archive: macos-latest.zip
- os: ubuntu-latest
binary: morrobroom
archive: ubuntu-latest.zip
- os: windows-latest
binary: morrobroom.exe
archive: windows-latest.zip
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: build
run: cargo build --release
- name: compress
run: 7z a -tzip ${{ matrix.archive }} ./target/release/${{ matrix.binary }}
- name: upload
uses: softprops/action-gh-release@v1
with:
tag_name: Latest
files: ${{ matrix.archive }}
body: |
Latest CI build of Morrobroom