From d75b4038ef9fee3a07df358dd0bb2d47d08a5c69 Mon Sep 17 00:00:00 2001 From: Steffen Scheib Date: Sun, 17 Mar 2024 22:50:44 +0100 Subject: [PATCH] Fixing condition --- .github/workflows/{ansible-galaxy.yml => release.yml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{ansible-galaxy.yml => release.yml} (85%) diff --git a/.github/workflows/ansible-galaxy.yml b/.github/workflows/release.yml similarity index 85% rename from .github/workflows/ansible-galaxy.yml rename to .github/workflows/release.yml index c4a643d9..23572429 100644 --- a/.github/workflows/ansible-galaxy.yml +++ b/.github/workflows/release.yml @@ -13,18 +13,18 @@ jobs: steps: - name: 'checkout' uses: 'actions/checkout@v4' - if: "github.ref_name == 'main'" + if: "${{ github.ref_name == 'main' }}" - name: 'galaxy' uses: 'robertdebock/galaxy-action@1.2.0' - if: "github.ref_name == 'main'" + if: "${{ github.ref_name == 'main' }}" with: galaxy_api_key: '${{ secrets.galaxy_api_key }}' git_branch: 'main' - name: 'Create a new release on GitHub' uses: 'softprops/action-gh-release@v2' - if: "github.ref_name == 'main'" + if: "${{ github.ref_name == 'main' }}" with: draft: false prerelease: false