Update galaxy metadata (#23) #6
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
--- | |
# This workflow requires a GALAXY_API_KEY secret present in the GitHub | |
# repository or organization. | |
# | |
# See: https://github.com/marketplace/actions/publish-ansible-role-to-galaxy | |
# See: https://github.com/ansible/galaxy/issues/46 | |
name: Release | |
on: | |
push: | |
tags: | |
- "*" | |
defaults: | |
run: | |
working-directory: 'nephelaiio.rabbitmq' | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the codebase. | |
uses: actions/checkout@v4 | |
with: | |
path: 'nephelaiio.rabbitmq' | |
- name: Set up Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Update ubuntu repositories | |
run: sudo apt-get update | |
- name: Install make | |
run: sudo apt-get install -y make | |
- name: Install dependencies | |
run: make install | |
- name: Trigger a new import on galaxy | |
run: make publish | |
env: | |
GALAXY_API_KEY: "${{ secrets.GALAXY_API_KEY }}" | |
GITHUB_REPOSITORY: "${{ github.repository }}" |