Repository navigation
Draft: Add manual release build workflow - #7
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
/.github/workflows/release-build.ymlthat is triggered withworkflow_dispatchand runs three jobs:windows-exe,uno-firmware-hex, andcustomer-package.windows-exejob runs onwindows-latest, sets up Python, installspyinstallerandpyserial, runspowershell -ExecutionPolicy Bypass -File .\release\scripts\build_windows_exe.ps1, verifiesrelease/artifacts/windows/PortableAVRControlStudio.exe, and uploads it as theportable-avr-control-studio-windows-exeartifact.uno-firmware-hexjob runs onubuntu-latest, installs Arduino CLI viaarduino/setup-arduino-cli@v2, installs thearduino:avrcore, runsbash release/scripts/build_uno_firmware_hex.sh, verifiesrelease/artifacts/firmware/PortableAVRControlStudio.ino.hex, and uploads firmware outputs as theportable-avr-control-studio-uno-firmwareartifact.customer-packagejob depends on the prior two, downloads those artifacts, runspython release/scripts/assemble_customer_package.pyto producerelease/customer_package/PortableAVRControlStudio-customer-handoff.zip, generates SHA-256 checksums intorelease/artifacts/checksums/SHA256SUMS.txt, and uploads the ZIP and checksums as artifacts.release/BUILD_VERIFICATION.mdwith instructions for running the manual workflow and where to download Actions artifacts, and updaterelease/candidates/RC-0.1.mdto note that RC artifacts may be produced by the manual workflow..gitignoreto ignorerelease/artifacts/checksums/*and ensure generated artifacts and checksums are not committed.Testing
actionlint .github/workflows/checks.yml .github/workflows/release-build.ymlwith no errors. (passed)python -m py_compile gui/portable_avr_control_studio.py release/scripts/assemble_customer_package.pyand ranpython release/scripts/assemble_customer_package.py --help. (passed)parse_serial_linevia a small Python check. (passed)git diff --checkand repository hygiene checks to confirm generated artifacts are ignored. (passed)Codex Task