Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
adeepn committed Nov 7, 2023
1 parent a001b0b commit 12c686b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/jh-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
requirements: ${{ steps.requirements.outputs.changed }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
arch: ${{ fromJson(needs.init.outputs.architectures) }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

Expand All @@ -114,13 +114,13 @@ jobs:
- name: Build wheels
if: needs.init.outputs.requirements == 'true'
uses: jethub-homeassistant/wheels@2023.04.0
uses: jethub-homeassistant/wheels@2023.10.5
with:
abi: cp311
tag: musllinux_1_2
arch: ${{ matrix.arch }}
wheels-key: ${{ secrets.WHEELS_KEY }}
apk: "libffi-dev;openssl-dev"
apk: "libffi-dev;openssl-dev;yaml-dev"
skip-binary: aiohttp
env-file: true
requirements: "requirements.txt"
Expand All @@ -133,7 +133,7 @@ jobs:

- name: Set up Python ${{ env.DEFAULT_PYTHON }}
if: needs.init.outputs.publish == 'true'
uses: actions/setup-python@v4.7.0
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ env.DEFAULT_PYTHON }}

Expand All @@ -157,7 +157,7 @@ jobs:
- name: Login to GitHub Container Registry
if: needs.init.outputs.publish == 'true'
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -168,7 +168,7 @@ jobs:
run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV

- name: Build supervisor
uses: jethub-homeassistant/builder@2023.08.0c
uses: jethub-homeassistant/builder@2023.09.0
with:
args: |
$BUILD_ARGS \
Expand All @@ -186,7 +186,7 @@ jobs:
steps:
- name: Checkout the repository
if: needs.init.outputs.publish == 'true'
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1

- name: update build.yaml
if: needs.init.outputs.publish == 'true'
Expand Down Expand Up @@ -215,14 +215,14 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1

- name: update build.yaml
run: cp -f build-jethub.yaml build.yaml

- name: Build the Supervisor
if: needs.init.outputs.publish != 'true'
uses: jethub-homeassistant/builder@2023.08.0c
uses: jethub-homeassistant/builder@2023.09.0
with:
args: |
--test \
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
echo "Checking supervisor network info"
test=$(docker exec hassio_cli ha network info --no-progress --raw-json | jq -r '.result')
if [ "$test" != "ok" ]; then
exit 2
exit 1
fi
- name: Check the Store / Addon
Expand All @@ -286,7 +286,7 @@ jobs:
test=$(echo ${testout} | jq -r '.result')
if [ "$test" != "ok" ]; then
echo $testout
exit 3
exit 1
fi
# Make sure it actually installed
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jh-buildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
requirements: ${{ steps.requirements.outputs.changed }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
arch: ${{ fromJson(needs.init.outputs.architectures) }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

Expand All @@ -93,13 +93,13 @@ jobs:
- name: Build wheels
if: needs.init.outputs.requirements == 'true'
uses: jethub-homeassistant/wheels@2023.04.0
uses: jethub-homeassistant/wheels@2023.10.5
with:
abi: cp311
tag: musllinux_1_2
arch: ${{ matrix.arch }}
wheels-key: ${{ secrets.WHEELS_KEY }}
apk: "libffi-dev;openssl-dev"
apk: "libffi-dev;openssl-dev;yaml-dev"
skip-binary: aiohttp
env-file: true
requirements: "requirements.txt"
Expand Down

0 comments on commit 12c686b

Please sign in to comment.