The reference build and test steps regenerate apps/reference/deno.lock in the runner checkout, and deno publish aborts on the dirty tree (the 0.4.0 tag run failed on exactly this). Tracked modifications reset to the tagged commit before publishing so the dirty check keeps guarding real anomalies.
- commit
- 7dd121a02d898f527ffd8bfd8999de1d9f00cb79
- parent
- 5d4c231e6237c1438845c1ca81564e90509b46d7
- author
- Dami <dami.etoile@gmail.com>
| M | .github/ | 7 | +++++++ |
@@ -41,6 +41,13 @@ jobs:
4141 - name: Install Chromium4242 run: deno task test:browser:install4343 44+ - name: Reset incidental workspace changes from validation steps45+ # the reference build and test runs regenerate lockfiles in the46+ # runner's checkout; publishing must see exactly the tagged tree47+ run: |48+ git status --short49+ git checkout -- .50+4451 - name: Publish to JSR4552 run: deno publish4653