From 99e40b319d50946c075e0cabc17bbae2142f116c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 1 May 2023 20:14:15 +1000 Subject: [PATCH] Fixes for releases --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16015bebb0e3..f8e875128fd3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,16 @@ jobs: uses: actions/checkout@v1 with: ref: v5-develop + path: 'ninja' - name: Copy .env file run: | cp .env.example .env + - name: ChDir + run: | + cd ninja + - name: Install composer dependencies run: | composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} @@ -65,7 +70,8 @@ jobs: - name: Build project run: | - tar --exclude='../*' --exclude='.htaccess' -zcvf ./invoiceninja.tar .* + cd .. + tar --exclude='../*' --exclude='.htaccess' -zcvf -C ninja invoiceninja.tar ninja/ - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')