From 0c0faeb4780bd213e4091178dc73531427be87eb Mon Sep 17 00:00:00 2001 From: Piotr Delawski Date: Fri, 26 Jul 2024 11:49:36 +0200 Subject: [PATCH] Remove fluff, try echoing directly --- .github/workflows/deploy-to-wp-org.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/deploy-to-wp-org.yml b/.github/workflows/deploy-to-wp-org.yml index 1a138b014..352a146c9 100644 --- a/.github/workflows/deploy-to-wp-org.yml +++ b/.github/workflows/deploy-to-wp-org.yml @@ -26,12 +26,7 @@ jobs: - name: Set dry-run based on release type id: set-dry-run run: | - if [ "${{ github.event.release.prerelease }}" = "true" ]; then - echo "dry-run=true" >> $GITHUB_ENV - else - echo "dry-run=false" >> $GITHUB_ENV - fi - echo "Dry-run is set to: ${{ env.dry-run }}" + echo "Dry-run is set to: ${{ github.event.release.prerelease }}" - name: Checkout uses: actions/checkout@v3