forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
69 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ on: | |
|
||
env: | ||
BUILD_TYPE: core | ||
DEFAULT_PYTHON: "3.12.3" | ||
DEFAULT_PYTHON: "3.12" | ||
PIP_TIMEOUT: 60 | ||
UV_HTTP_TIMEOUT: 60 | ||
UV_SYSTEM_PYTHON: "true" | ||
|
@@ -27,15 +27,15 @@ jobs: | |
publish: ${{ steps.version.outputs.publish }} | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: update build.yaml | ||
run: cp -f build-jethub.yaml build.yaml | ||
|
||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/setup-python@v5.1.0 | ||
uses: actions/setup-python@v5.2.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
||
|
@@ -74,7 +74,7 @@ jobs: | |
run: find ./homeassistant/components/*/translations -name "*.json" | tar zcvf translations.tar.gz -T - | ||
|
||
- name: Upload translations | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: translations | ||
path: translations.tar.gz | ||
|
@@ -96,14 +96,14 @@ jobs: | |
arch: ${{ fromJson(needs.init.outputs.architectures) }} | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: update build.yaml | ||
run: cp -f build-jethub.yaml build.yaml | ||
|
||
- name: Download nightly wheels of frontend | ||
if: needs.init.outputs.channel == 'dev' | ||
uses: dawidd6/action-download-artifact@v3.1.4 | ||
uses: dawidd6/action-download-artifact@v6 | ||
with: | ||
github_token: ${{secrets.GITHUB_TOKEN}} | ||
repo: home-assistant/frontend | ||
|
@@ -114,7 +114,7 @@ jobs: | |
|
||
- name: Download nightly wheels of intents | ||
if: needs.init.outputs.channel == 'dev' | ||
uses: dawidd6/action-download-artifact@v3.1.4 | ||
uses: dawidd6/action-download-artifact@v6 | ||
with: | ||
github_token: ${{secrets.GITHUB_TOKEN}} | ||
repo: home-assistant/intents-package | ||
|
@@ -125,7 +125,7 @@ jobs: | |
|
||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
if: needs.init.outputs.channel == 'dev' | ||
uses: actions/setup-python@v5.1.0 | ||
uses: actions/setup-python@v5.2.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
||
|
@@ -142,7 +142,7 @@ jobs: | |
env: | ||
UV_PRERELEASE: allow | ||
run: | | ||
python3 -m pip install "$(grep '^uv' < requirements_test.txt)" | ||
python3 -m pip install "$(grep '^uv' < requirements.txt)" | ||
uv pip install packaging tomli | ||
uv pip install . | ||
python3 script/version_bump.py nightly --set-nightly-version "${{ needs.init.outputs.version }}" | ||
|
@@ -189,9 +189,9 @@ jobs: | |
sed -i "s|noaa-coops|# noaa-coops|g" requirements_all.txt | ||
sed -i "s|pyezviz|# pyezviz|g" requirements_all.txt | ||
sed -i "s|pykrakenapi|# pykrakenapi|g" requirements_all.txt | ||
- name: Download translations | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: translations | ||
|
||
|
@@ -206,14 +206,14 @@ jobs: | |
echo "${{ github.sha }};${{ github.ref }};${{ github.event_name }};${{ github.actor }}" > rootfs/OFFICIAL_IMAGE | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3.2.0 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build base image | ||
uses: jethub-homeassistant/builder@2024.03.5 | ||
uses: jethub-homeassistant/builder@2024.08.2 | ||
with: | ||
args: | | ||
$BUILD_ARGS \ | ||
|
@@ -261,7 +261,7 @@ jobs: | |
- tinker | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: update build.yaml | ||
run: cp -f build-jethub.yaml build.yaml | ||
|
@@ -278,14 +278,14 @@ jobs: | |
fi | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3.2.0 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build base image | ||
uses: jethub-homeassistant/builder@2024.03.5 | ||
uses: jethub-homeassistant/builder@2024.08.2 | ||
with: | ||
args: | | ||
$BUILD_ARGS \ | ||
|
@@ -300,7 +300,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: update build.yaml | ||
run: cp -f build-jethub.yaml build.yaml | ||
|
@@ -343,10 +343,10 @@ jobs: | |
registry: ["ghcr.io/jethub-homeassistant", "cr.jethome.work/ha"] | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Install Cosign | ||
uses: sigstore/cosign-installer@v3.5.0 | ||
uses: sigstore/cosign-installer@v3.6.0 | ||
with: | ||
cosign-release: "v2.2.3" | ||
|
||
|
@@ -355,15 +355,15 @@ jobs: | |
|
||
- name: Login to DockerHub | ||
if: matrix.registry == 'cr.jethome.work/ha' | ||
uses: docker/login-action@v3.2.0 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: cr.jethome.work | ||
username: ${{ secrets.CR_USERNAME }} | ||
password: ${{ secrets.CR_TOKEN }} | ||
|
||
- name: Login to GitHub Container Registry | ||
if: matrix.registry == 'ghcr.io/jethub-homeassistant' | ||
uses: docker/login-action@v3.2.0 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ on: | |
- "**strings.json" | ||
|
||
env: | ||
DEFAULT_PYTHON: "3.12.3" | ||
DEFAULT_PYTHON: "3.12" | ||
|
||
jobs: | ||
upload: | ||
|
@@ -22,10 +22,12 @@ jobs: | |
runs-on: ${{ vars.RUNNER }} | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected] | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/setup-python@v5.1.0 | ||
uses: actions/setup-python@v5.2.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
||
|
@@ -46,11 +48,11 @@ jobs: | |
docker create --name temp-core ghcr.io/home-assistant/aarch64-homeassistant:$VERSION | ||
docker cp temp-core:"/usr/src/homeassistant/homeassistant" ./ | ||
docker rm temp-core | ||
- name: Archive translations | ||
shell: bash | ||
run: find ./homeassistant/components/*/translations -name "*.json" | tar zcvf translations.tar.gz -T - | ||
|
||
- name: Upload Translations | ||
uses: transifex/cli-action@v2 | ||
with: | ||
|
Oops, something went wrong.