mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix: fetch full history before fast-forwarding stable in the Nix workflow
The shallow checkout did not contain the current stable commit, so git rejected the push to stable for v1.0.1 even though it was a fast-forward.
This commit is contained in:
parent
4c6fb7cfe8
commit
83692682f0
1 changed files with 3 additions and 0 deletions
3
.github/workflows/nix.yml
vendored
3
.github/workflows/nix.yml
vendored
|
|
@ -139,8 +139,11 @@ jobs:
|
|||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
# Full history, so git can verify that the push to stable is a fast-forward.
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# Without --force, the push fails unless it is a fast-forward, so stable
|
||||
# never moves back to an older release.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue