diff --git a/.github/workflows/upload-docs-cli-artifact.yml b/.github/workflows/upload-docs-cli-artifact.yml new file mode 100644 index 0000000..e853f1f --- /dev/null +++ b/.github/workflows/upload-docs-cli-artifact.yml @@ -0,0 +1,31 @@ +name: build + +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 diff --git a/cli_with_docs.tar b/cli_with_docs.tar new file mode 100644 index 0000000..31cb9be Binary files /dev/null and b/cli_with_docs.tar differ