File tree 4 files changed +43
-19
lines changed
4 files changed +43
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on : workflow_dispatch
3
+ jobs :
4
+ build_linux_static :
5
+ runs-on : ubuntu-latest
6
+ container :
7
+ image : crystallang/crystal:latest-alpine
8
+ steps :
9
+ - name : Download source
10
+ uses : actions/checkout@v2
11
+ - name : Retrieve version
12
+ run : |
13
+ echo "::set-output name=VERSION::$(shards version)"
14
+ id : version
15
+ - name : Build
16
+ run : shards build --production --no-debug --release --static
17
+ - name : Make binary executable
18
+ run : chmod +x bin/crycord
19
+ - name : Upload artifact
20
+ uses : actions/upload-artifact@v3
21
+ with :
22
+ name : crycord-${{ steps.version.outputs.VERSION }}-linux-x86_64-static
23
+ path : bin/crycord
24
+
25
+ release :
26
+ runs-on : ubuntu-latest
27
+ needs : build_linux_static
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+ - uses : actions/download-artifact@v2
31
+ with :
32
+ path : ./GH_ARTIFACTS
33
+ - name : Make all binaries executable
34
+ run : chmod +x GH_ARTIFACTS/**/*
35
+ - name : Create zips
36
+ run : cd GH_ARTIFACTS && find . -maxdepth 1 -mindepth 1 -type d -execdir zip -jr '{}.zip' '{}' \; && cd ..
37
+ - uses : softprops/action-gh-release@v1
38
+ with :
39
+ draft : true
40
+ files : |
41
+ GH_ARTIFACTS/*.zip
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Uses [asar-cr](https://github.com/GeopJr/asar-cr).
13
13
14
14
## Installation
15
15
16
- You can download the * statically* linked build from the releases page!
16
+ You can download the * statically* linked build from the [ releases page] ( https://github.com/GeopJr/Crycord/releases/latest ) !
17
17
18
18
## Building
19
19
Original file line number Diff line number Diff line change 1
1
name : crycord
2
- version : 1.3.2
2
+ version : 1.4.0
3
3
4
4
authors :
5
5
You can’t perform that action at this time.
0 commit comments