mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
ci: Fix release workflow
By default, the `checkout@v4` action does a shallow clone, so we weren't getting the history.
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v4
|
||||
- name: Get tags
|
||||
run: git fetch --tags origin
|
||||
run: git fetch --prune --unshallow --tags origin
|
||||
- name: Configure build cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Get tags
|
||||
run: git fetch --tags origin
|
||||
run: git fetch --prune --unshallow --tags origin
|
||||
- name: Configure build cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user