constellation/.github/actions/install_docgen/action.yml
renovate[bot] 5dad9bfad7
deps: update GitHub action dependencies (#1591)
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-04-03 16:36:43 +02:00

27 lines
625 B
YAML

name: Install Docgen
description: |
Install Docgen
runs:
using: "composite"
steps:
- name: Checkout talos
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
fetch-depth: 0
repository: "siderolabs/talos"
ref: "v1.3.1"
path: talos
# This is required to be able to build docgen
- name: Remove go.work
shell: bash
working-directory: talos
run: rm go.work*
- name: Install Docgen
shell: bash
working-directory: talos/hack/docgen
run: |
go build -o docgen .
mv docgen /usr/local/bin