Skip to content

Commit

Permalink
fix workflows and build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
adeepn committed Aug 1, 2024
1 parent f3a174f commit 991c256
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 19 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/jh-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -27,7 +27,7 @@ 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

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -343,7 +343,7 @@ 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/[email protected]
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/jh-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- "**strings.json"

env:
DEFAULT_PYTHON: "3.12.3"
DEFAULT_PYTHON: "3.12"

jobs:
upload:
Expand All @@ -22,7 +22,9 @@ 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/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jh-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
workflow_call:

env:
DEFAULT_PYTHON: "3.12.3"
DEFAULT_PYTHON: "3.12"

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name}}
Expand All @@ -34,7 +34,7 @@ jobs:
architectures: ${{ steps.info.outputs.architectures }}
steps:
- name: Checkout the repository
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: Set up Python ${{ env.DEFAULT_PYTHON }}
id: python
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
arch: ${{ fromJson(needs.init.outputs.architectures) }}
steps:
- name: Checkout the repository
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: Download env_file
uses: actions/[email protected]
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
arch: ${{ fromJson(needs.init.outputs.architectures) }}
steps:
- name: Checkout the repository
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: Download env_file
uses: actions/[email protected]
Expand Down
10 changes: 5 additions & 5 deletions build-jethub.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
image: ghcr.io/jethub-homeassistant/{arch}-homeassistant
build_from:
aarch64: ghcr.io/jethub-homeassistant/aarch64-homeassistant-base:2024.03.0
armhf: ghcr.io/jethub-homeassistant/armhf-homeassistant-base:2024.03.0
armv7: ghcr.io/jethub-homeassistant/armv7-homeassistant-base:2024.03.0
amd64: ghcr.io/jethub-homeassistant/amd64-homeassistant-base:2024.03.0
i386: ghcr.io/jethub-homeassistant/i386-homeassistant-base:2024.03.0
aarch64: ghcr.io/jethub-homeassistant/aarch64-homeassistant-base:2024.06.1
armhf: ghcr.io/jethub-homeassistant/armhf-homeassistant-base:2024.06.1
armv7: ghcr.io/jethub-homeassistant/armv7-homeassistant-base:2024.06.1
amd64: ghcr.io/jethub-homeassistant/amd64-homeassistant-base:2024.06.1
i386: ghcr.io/jethub-homeassistant/i386-homeassistant-base:2024.06.1
codenotary:
signer: [email protected]
base_image: [email protected]
Expand Down

0 comments on commit 991c256

Please sign in to comment.