mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Ansible Galaxy support (#281)
Signed-off-by: Brian Lu <me@greencappuccino.net>
This commit is contained in:
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
name: Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
name: Build Ansible Galaxy collection artifact.
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out the codebase.
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python 3.
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install test dependencies.
|
||||
run: pip3 install ansible
|
||||
|
||||
- name: Build artifact.
|
||||
run: ansible-galaxy collection build
|
||||
|
||||
- name: Upload artifact.
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: galaxy-collection
|
||||
path: k3s-orchestration-*.tar.gz
|
||||
Reference in New Issue
Block a user