1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Fix source-mod check (#3439)

* Fix source-mod check

* Fix stderr

* make handling robust
This commit is contained in:
Pascal Vizeli
2022-02-10 13:23:05 +01:00
committed by GitHub
parent d6e44b43b4
commit 597a27ba33
4 changed files with 35 additions and 10 deletions

View File

@@ -160,7 +160,7 @@ jobs:
id: dirhash
run: |
pip3 install dirhash
dir_hash="$(dirhash "${{ github.workspace }}" -a sha256 --match "*.py")"
dir_hash="$(dirhash "${{ github.workspace }}/supervisor" -a sha256 --match "*.py")"
echo "::set-output name=dirhash::${dir_hash}"
- name: Set version
@@ -169,7 +169,7 @@ jobs:
with:
type: ${{ env.BUILD_TYPE }}
- name: Signing image
- name: Signing Source
if: needs.init.outputs.publish == 'true'
uses: home-assistant/actions/helpers/codenotary@master
with: