Use ' instead of " for build if workflows (#49739)

This commit is contained in:
Pascal Vizeli 2021-04-27 10:36:13 +02:00 committed by GitHub
parent a67b9eff17
commit 1b957a0ce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ jobs:
name: Build PyPi package
needs: init
runs-on: ubuntu-latest
if: needs.init.outputs.publish == "true"
if: needs.init.outputs.publish == 'true'
steps:
- name: Checkout the repository
uses: actions/checkout@v2
@ -86,13 +86,13 @@ jobs:
uses: actions/checkout@v2
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
if: needs.init.outputs.channel == "dev"
if: needs.init.outputs.channel == 'dev'
uses: actions/setup-python@v2.2.1
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Adjust nightly version
if: needs.init.outputs.channel == "dev"
if: needs.init.outputs.channel == 'dev'
shell: bash
run: |
python3 -m pip install packaging
@ -199,7 +199,7 @@ jobs:
channel: ${{ needs.init.outputs.channel }}
- name: Update version file (stable -> beta)
if: needs.init.outputs.channel == "stable"
if: needs.init.outputs.channel == 'stable'
uses: home-assistant/actions/helpers/version-push@master
with:
key: "homeassistant[]"