2022-11-14 08:38:07 -05:00
|
|
|
name: Install Docgen
|
|
|
|
description: |
|
|
|
|
Install Docgen
|
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
|
|
|
- name: Checkout talos
|
2023-05-05 08:42:20 -04:00
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
2022-11-14 08:38:07 -05:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
repository: "siderolabs/talos"
|
2023-01-02 07:33:56 -05:00
|
|
|
ref: "v1.3.1"
|
2022-11-14 08:38:07 -05:00
|
|
|
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
|