blob: a5928d058ba802c1ccd81e21ee37b123c7adc7c0 (
plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
name: release
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Build binaries
run: ./prepare_binaries.sh linux
- uses: actions/upload-artifact@master
with:
name: dotup-linux-x64
path: dotup_x86_64-unknown-linux-musl
build-macos:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Build binaries
run: ./prepare_binaries.sh macos
- uses: actions/upload-artifact@master
with:
name: dotup-macos-x64
path: dotup_x86_64-apple-darwin
release:
runs-on: ubuntu-latest
needs: [build-linux, build-macos]
steps:
- name: Download linux binary
uses: actions/download-artifact@master
with:
name: dotup-linux-x64
path: .
- name: Download macos binary
uses: actions/download-artifact@master
with:
name: dotup-macos-x64
path: .
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dotup_*
|