-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 900 Bytes
/
ci.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
name: CI
on:
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-cli:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# fetch all history to get the commits required for extracting the subtree
fetch-depth: 0
- name: Install babashka
run: |
bash < <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install)
- name: Build standalone cli
run: |
./static-cli.sh target
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: garden-x86_64-linux-static
path: target/garden
- name: Create release
if: startsWith(github.ref,'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: target/garden