-
Notifications
You must be signed in to change notification settings - Fork 13
44 lines (38 loc) · 938 Bytes
/
release-binary.yml
File metadata and controls
44 lines (38 loc) · 938 Bytes
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
name: Release Binary
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- 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-musl
- os: ubuntu-latest
target: aarch64-unknown-linux-musl
- os: macos-latest
target: aarch64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: otree
tar: unix
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}