mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Use empty requirements_diff for schedule and workflow_dispatch (#50450)
This commit is contained in:
parent
ef67a2659e
commit
50a88eb6c0
15
.github/workflows/wheels.yml
vendored
15
.github/workflows/wheels.yml
vendored
@ -3,11 +3,6 @@ name: Build wheels
|
|||||||
# yamllint disable-line rule:truthy
|
# yamllint disable-line rule:truthy
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
|
||||||
ignore_diff:
|
|
||||||
description: "Ignore checking requirements_diff.txt"
|
|
||||||
default: "false"
|
|
||||||
required: true
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 4 * * *"
|
- cron: "0 4 * * *"
|
||||||
push:
|
push:
|
||||||
@ -34,12 +29,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Create requirements_diff file
|
- name: Create requirements_diff file
|
||||||
run: |
|
run: |
|
||||||
curl -s -o requirements_diff.txt https://raw.githubusercontent.com/home-assistant/core/dev/requirements.txt
|
if [[ ${{ github.event_name }} ~= (schedule|workflow_dispatch) ]]; then
|
||||||
|
touch requirements_diff.txt
|
||||||
if [[ ${{ github.event_name }} == "workflow_dispatch" ]]; then
|
else
|
||||||
if [[ ${{ github.event.inputs.ignore_diff }} == "true" ]]; then
|
curl -s -o requirements_diff.txt https://raw.githubusercontent.com/home-assistant/core/master/requirements.txt
|
||||||
echo "" > requirements_diff.txt
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Write env-file
|
- name: Write env-file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user