Skip to content

Commit

Permalink
ci: checkout LFS files from previous version to ensure upload
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue committed Sep 11, 2024
1 parent bfcea60 commit c3d1c81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,10 @@ jobs:
$env:PREVIOUS_PATCH_VERSION_NUMBER=$env:VERSION.substring($env:VERSION.Length - 1)
$env:PREVIOUS_PATCH_VERSION_NUMBER=[int]$env:PREVIOUS_PATCH_VERSION_NUMBER - 1
$env:PREVIOUS_VERSION=$env:PREVIOUS_VERSION + $env:PREVIOUS_PATCH_VERSION_NUMBER
# Fetch the LFS files from the previous version
git lfs fetch origin --include="$env:PREVIOUS_VERSION/*"
git lfs checkout $env:PREVIOUS_VERSION
# Copy the binaries from the previous version
cp ./$env:PREVIOUS_VERSION/windows-binaries.zip windows-binaries.zip
cp ./$env:PREVIOUS_VERSION/linux-binaries.zip linux-binaries.zip
Expand Down

0 comments on commit c3d1c81

Please sign in to comment.