Skip to content

Commit

Permalink
Exclude .git directory from source cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
jshbrntt committed Aug 8, 2023
1 parent ae820be commit 73b218d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
- name: Save source cache
uses: actions/cache/save@v3
with:
path: .
path: |
**
!.git
key: source-${{ needs.release.outputs.commit_sha }}
# - name: Archive source
# run: tar --create --verbose --exclude .git --file source.tar .
Expand Down

0 comments on commit 73b218d

Please sign in to comment.