Update garden-cli install instructions (#95) #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |