Exclude base path from .tar

This commit is contained in:
David Bomba 2023-05-02 10:27:41 +10:00
parent 85ba05d9c5
commit c3bccda741

View File

@ -66,7 +66,7 @@ jobs:
- name: Build project
run: |
cd ..
tar --exclude='.htaccess' -zcvf /home/runner/work/invoiceninja/invoiceninja.tar invoiceninja/
tar -C invoiceninja --exclude='.htaccess' -zcvf /home/runner/work/invoiceninja/invoiceninja.tar invoiceninja/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')