diff --git a/.github/actions/release/action.yaml b/.github/actions/release/action.yaml index 0ca1534..7988946 100644 --- a/.github/actions/release/action.yaml +++ b/.github/actions/release/action.yaml @@ -30,7 +30,7 @@ runs: - run: echo "NOW=$(date --iso-8601=seconds)" >> $GITHUB_ENV shell: bash - - if: ${{ inputs.development == 'true' }} + - if: inputs.development uses: softprops/action-gh-release@v2 with: name: "Development Build for ${{ inputs.version }} (Build #${{ inputs.build_number }})" @@ -43,7 +43,7 @@ runs: fail_on_unmatched_files: true token: ${{ inputs.github_token }} - - if: ${{ inputs.development == 'true' }} + - if: inputs.development uses: softprops/action-gh-release@v2 with: name: "Development Build for ${{ inputs.version }} (Build #${{ inputs.build_number }})" @@ -56,7 +56,7 @@ runs: fail_on_unmatched_files: true token: ${{ inputs.github_token }} - - if: ${{ inputs.development == 'true' }} + - if: inputs.development uses: tsickert/discord-webhook@v6.0.0 with: wait: true @@ -73,7 +73,7 @@ runs: embed-description: | *No information provided.* - - if: ${{ inputs.development == 'false' }} + - if: !inputs.development uses: softprops/action-gh-release@v2 with: name: "Plazma ${{ inputs.version }} (Build #${{ inputs.build_number }})" @@ -86,7 +86,7 @@ runs: fail_on_unmatched_files: true token: ${{ inputs.github_token }} - - if: ${{ inputs.development == 'false' }} + - if: !inputs.development uses: softprops/action-gh-release@v2 with: name: "Plazma ${{ inputs.version }} (Build #${{ inputs.build_number }})" @@ -99,7 +99,7 @@ runs: fail_on_unmatched_files: true token: ${{ inputs.github_token }} - - if: ${{ inputs.development == 'false' }} + - if: !inputs.development uses: tsickert/discord-webhook@v6.0.0 with: wait: true