Files
warewulf/.github/actions/prepare/action.yml
jason yang 3fd2899b1f add nightly release support
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-06 13:17:22 +00:00

28 lines
628 B
YAML

name: 'Prepare Warewulf'
description: 'Prepare environment and Warewulf source code for testing and building'
inputs:
go-version:
description: "go version"
required: true
runs:
using: "composite"
steps:
- name: Install gpgme (dependency)
run: sudo apt-get install libgpgme-dev
shell: bash
- name: Setup go ${{ inputs.go-version }}
uses: actions/setup-go@v3
with:
go-version: ${{ inputs.go-version }}
cache: true
- name: Configure Warewulf
run: make config
shell: bash
- name: Prepare vendor directory
run: make vendor
shell: bash