Skip to content

Commit

Permalink
try build from artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Jul 12, 2024
1 parent 88fdefd commit d2521b3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/upload-docs-cli-artifact.yml
Original file line number Diff line number Diff line change
@@ -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
Binary file added cli_with_docs.tar
Binary file not shown.

0 comments on commit d2521b3

Please sign in to comment.