Merge pull request #427 from iranl/master

Fix workflows
This commit is contained in:
iranl
2024-07-19 17:16:24 +02:00
committed by GitHub
3 changed files with 5 additions and 2 deletions

View File

@@ -110,6 +110,8 @@ jobs:
rm -rf release
python3 resources/ota_manifest.py beta $Version
- name: Commit binaries to master
env:
Version: ${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }}
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update beta binaries"

View File

@@ -166,10 +166,9 @@ jobs:
name: "Nuki Hub ${{ steps.get_version.outputs.VERSION }}"
artifacts: ${{ steps.zip.outputs.artifacts }}
artifactContentType: application/zip
- name: Add version info
- name: Copy binaries to ota and webflash and remove beta
env:
Version: ${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }}
- name: Copy binaries to ota and webflash and remove beta
run: |
cp -vf release/*/nuki_hub_*.bin ota/
cp -vf release/*/webflash_nuki_hub_*.bin webflash/

View File

@@ -111,6 +111,8 @@ jobs:
path: release
pattern: '*-release-assets'
- name: Copy binaries to ota/master
env:
Version: ${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }}
run: |
mkdir -p ota/master/
cp -vf release/*/nuki_hub_*.bin ota/master/