ci: consolidate release.yml into single checkout step
Release / release (push) Failing after 1m53s

The two-step pattern (sparse-checkout RELEASE_NOTES.md, then full
checkout) left sparse-checkout config active on the workspace, so the
second checkout still only restored RELEASE_NOTES.md. Docker build
then failed with "open Dockerfile: no such file or directory".

Since both RELEASE_NOTES.md and the full source are needed in the same
job, one full checkout is simpler and correct.
This commit is contained in:
2026-04-21 19:50:49 +03:00
parent af59615036
commit 56b345188e
+1 -7
View File
@@ -13,13 +13,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Fetch RELEASE_NOTES.md only
uses: actions/checkout@v4
with:
sparse-checkout: RELEASE_NOTES.md
sparse-checkout-cone-mode: false
- name: Checkout full repo for Docker build
- name: Checkout repo
uses: actions/checkout@v4
- name: Extract version from tag