Version 0.0.4 #4
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: Publish Collection | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get the version name from the tags | |
run: | | |
# shellcheck disable=SC2086 | |
echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV | |
- name: Publish Ansible Collection | |
uses: arillso/[email protected] | |
with: | |
api_key: "${{ secrets.GALAXY_API_KEY }}" | |
galaxy_version: "${{ env.RELEASE_VERSION }}" |