Skip to content

Commit

Permalink
removing files is fine better than dealing with sparse checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
agl-alexglopez committed Jul 11, 2024
1 parent 4010801 commit 232f4b6
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
sparse-checkout-cone-mode: false
sparse-checkout: |
CMake*
Config.cmake.in
cmake/*
README.md
LICENSE
Makefile
str_view/*

- name: Create Release Zip
run: |
git archive HEAD --format=zip --output=str_view-${GITHUB_REF#refs/tags/}.zip
git rm -r --cached tests samples images res vcpkg etc || true
git archive $( git write-tree ) --format=zip --output=str_view-${GITHUB_REF#refs/tags/}.zip
echo "ZIP_FILE=str_view-${GITHUB_REF#refs/tags/}.zip" >> $GITHUB_ENV
- name: Create Release
Expand Down

0 comments on commit 232f4b6

Please sign in to comment.