mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Use ' instead of " for build if workflows (#49739)
This commit is contained in:
parent
a67b9eff17
commit
1b957a0ce0
8
.github/workflows/builder.yml
vendored
8
.github/workflows/builder.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
|||||||
name: Build PyPi package
|
name: Build PyPi package
|
||||||
needs: init
|
needs: init
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: needs.init.outputs.publish == "true"
|
if: needs.init.outputs.publish == 'true'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -86,13 +86,13 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
|
- 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
|
uses: actions/setup-python@v2.2.1
|
||||||
with:
|
with:
|
||||||
python-version: ${{ env.DEFAULT_PYTHON }}
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
||||||
|
|
||||||
- name: Adjust nightly version
|
- name: Adjust nightly version
|
||||||
if: needs.init.outputs.channel == "dev"
|
if: needs.init.outputs.channel == 'dev'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install packaging
|
python3 -m pip install packaging
|
||||||
@ -199,7 +199,7 @@ jobs:
|
|||||||
channel: ${{ needs.init.outputs.channel }}
|
channel: ${{ needs.init.outputs.channel }}
|
||||||
|
|
||||||
- name: Update version file (stable -> beta)
|
- 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
|
uses: home-assistant/actions/helpers/version-push@master
|
||||||
with:
|
with:
|
||||||
key: "homeassistant[]"
|
key: "homeassistant[]"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user