[Release] Update galaxy version to v1.2.0 #23
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
--- | |
name: release | |
'on': | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
name: release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Ensure codebase is present | |
uses: actions/checkout@v3 | |
- name: Ensure python3 is present | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Ensure ansible-core is present | |
run: pip install ansible-core==2.15.0 | |
- name: Ensure ansible-galaxy collection is built | |
run: ansible-galaxy collection build | |
- name: Ensure ansible-galaxy collection is published | |
run: ansible-galaxy collection publish --api-key ${{ secrets.GALAXY_API_KEY }} linuxhq-cloudflare-*.tar.gz | |
... |