aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml67
1 files changed, 0 insertions, 67 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index a5928d0..0000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,67 +0,0 @@
1name: release
2on:
3 push:
4 tags:
5 - "[0-9]+.[0-9]+.[0-9]+"
6
7jobs:
8 build-linux:
9 runs-on: ubuntu-latest
10
11 steps:
12 - uses: actions/checkout@v3
13
14 - name: Install latest nightly
15 uses: actions-rs/toolchain@v1
16 with:
17 toolchain: nightly
18 override: true
19
20 - name: Build binaries
21 run: ./prepare_binaries.sh linux
22
23 - uses: actions/upload-artifact@master
24 with:
25 name: dotup-linux-x64
26 path: dotup_x86_64-unknown-linux-musl
27
28 build-macos:
29 runs-on: macos-12
30
31 steps:
32 - uses: actions/checkout@v3
33
34 - name: Install latest nightly
35 uses: actions-rs/toolchain@v1
36 with:
37 toolchain: nightly
38 override: true
39
40 - name: Build binaries
41 run: ./prepare_binaries.sh macos
42
43 - uses: actions/upload-artifact@master
44 with:
45 name: dotup-macos-x64
46 path: dotup_x86_64-apple-darwin
47
48 release:
49 runs-on: ubuntu-latest
50 needs: [build-linux, build-macos]
51 steps:
52 - name: Download linux binary
53 uses: actions/download-artifact@master
54 with:
55 name: dotup-linux-x64
56 path: .
57
58 - name: Download macos binary
59 uses: actions/download-artifact@master
60 with:
61 name: dotup-macos-x64
62 path: .
63
64 - name: Release
65 uses: softprops/action-gh-release@v1
66 with:
67 files: dotup_*