Merge pull request #13 from adfinis/fix/ci_galaxy_version #18
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: Build and deploy Collection on Ansible Galaxy | ||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- 'v*' | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository and submodules | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Upload collection to Ansible Galaxy | ||
uses: ansible/[email protected] | ||
with: | ||
api_key: ${{ secrets.GALAXY_API_KEY }} | ||
galaxy_version: ${{ GITHUB_REF#refs/tags/v }} | ||
Check failure on line 24 in .github/workflows/collection.yml GitHub Actions / Build and deploy Collection on Ansible GalaxyInvalid workflow file
|