Update galaxy.yml

fixed path
This commit is contained in:
kewl
2025-08-22 20:49:26 +01:00
committed by GitHub
parent 984cb9fde1
commit b8da3380f5

View File

@@ -34,9 +34,15 @@ jobs:
- name: Build collection - name: Build collection
run: ansible-galaxy collection build run: ansible-galaxy collection build
- name: Upload built collection artifact
uses: actions/upload-artifact@v4
with:
name: ansible-collection-tarball
path: kewlfft-aur-*.tar.gz
- name: Publish collection - name: Publish collection
run: | run: |
tarball=$(ls kewlfft-aur-*.tar.gz | head -n1) tarball=$(realpath kewlfft-aur-*.tar.gz)
echo "📦 Publishing $tarball ..." echo "📦 Publishing $tarball ..."
ansible-galaxy collection publish "$tarball" \ ansible-galaxy collection publish "$tarball" \
--api-key "${{ secrets.ANSIBLE_GALAXY_API_KEY }}" --api-key "${{ secrets.ANSIBLE_GALAXY_API_KEY }}"