-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (37 loc) · 977 Bytes
/
release-binary.yml
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
name: Release Binary
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create
uses: softprops/action-gh-release@v2
with:
draft: true
release-binary:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: macos-latest
target: aarch64-apple-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install deps for ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get update && sudo apt-get install libglib2.0-dev libgtk-3-dev libwebkit2gtk-4.1-dev
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: csync
tar: unix
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}