Skip to content

Nightly

Nightly #533

Workflow file for this run

name: Nightly
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *"
env:
PYTHON_VERSION: "3.10"
permissions:
actions: none
jobs:
nightly:
name: Nightly
runs-on: ubuntu-latest
if: ${{ github.repository == 'home-assistant/intents-package' }}
permissions:
contents: write
steps:
- name: Checkout the repository
uses: actions/[email protected]
with:
submodules: recursive
- name: Update submodule
run: |
git submodule update --remote
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
script/setup && \
python3 -m pip install build
- name: Build nightly Python package
run: script/package
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: package
path: dist/*.whl
if-no-files-found: error