Skip to content

Commit

Permalink
ci: Fix release artifacts.
Browse files Browse the repository at this point in the history
They need a more complete checkout of the source to identify themselves
as tagged releases.
  • Loading branch information
rpavlik committed Oct 10, 2024
1 parent 90be7de commit f2f0c67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/android-cts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- uses: actions/checkout@v4
with:
lfs: true
fetch-tags: true
fetch-tags: "${{ inputs.gradleTask != 'assembleRelease' }}"
fetch-depth: "${{ github.event.release && '0' || '1'}}"

- name: Get modern CMake and Ninja
uses: lukka/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/msvc-build-preset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
- uses: actions/checkout@v4
with:
lfs: true
fetch-tags: true
fetch-tags: "${{ !github.event.release }}"
fetch-depth: "${{ github.event.release && '0' || '1'}}"

- name: Get modern CMake and Ninja
uses: lukka/[email protected]
Expand Down

0 comments on commit f2f0c67

Please sign in to comment.