Skip to content

chore: prepare the 0.3.0 release (#355) #4

chore: prepare the 0.3.0 release (#355)

chore: prepare the 0.3.0 release (#355) #4

Workflow file for this run

name: Release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '![0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Ansible
run: |
pip install ansible
- name: Publish the release
run: |
ansible-galaxy collection build
ansible-galaxy collection publish --api-key ${{ secrets.GALAXY_API_KEY }} *.tar.gz