From d22e86296fc31c3c941a89ba1a70900446fd643c Mon Sep 17 00:00:00 2001 From: Boris Glimcher <36732377+glimchb@users.noreply.github.com> Date: Tue, 16 Apr 2024 08:24:00 -0400 Subject: [PATCH] ci: fixing release using different publish action Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com> --- .github/workflows/release.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0e4fd76..0023819 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,7 +13,13 @@ jobs: release-galaxy: runs-on: ubuntu-latest + #needs: [build] steps: - - uses: ansible/ansible-publish-action@1.0.0 + - name: Download migrated collection artifacts + uses: actions/download-artifact@v1 with: - api_key: ${{ secrets.GALAXY_API_KEY }} + name: collection + path: .cache/collection-tarballs + - name: Deploy Ansible collection to Galaxy + run: ansible-galaxy collection publish .cache/collection-tarballs/*.tar.gz --api-key ${{ secrets.GALAXY_API_KEY }} +