Skip to content

Upload artifacts of CLI with docs generation support #2

Upload artifacts of CLI with docs generation support

Upload artifacts of CLI with docs generation support #2

name: 'upload docs cli artifact'
on:
pull_request:
push:
branches:
- gen_docs
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version-file: .go-version
- name: 'Build CLI with docs support'
run: make dispatch-docs
- name: 'Tar files'
run: tar -cvf cli_with_docs.tar /build/linux/amd64/dispatch
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: cli_with_docs
path: cli_with_docs.tar