Bump Galaxy version #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: ISC | |
# | |
# Copyright (c) 2024 Johnathan C. Maudlin <[email protected]> | |
--- | |
name: Release | |
on: | |
push: | |
tags: ["*"] | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: { python-version: "3.11" } | |
- name: Install Ansible | |
run: pip install ansible-core | |
- name: Build collection | |
run: ansible-galaxy collection build | |
- name: Publish collection to Ansible Galaxy | |
run: > | |
ansible-galaxy collection publish | |
--api-key ${{ secrets.GALAXY_API_KEY }} | |
jcmdln-openbsd-${{ github.ref_name }}.tar.gz |