From d5ab9c32c612ec6624bf21aa1cd0e7b11f17c350 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 2 Apr 2020 22:17:56 +1100 Subject: [PATCH] Alpha release (#3585) * Reduce release filesize * tweaks for github actions * Release asset * Tweaks for alpha release * Fixes for release * Fixes for alpha release --- .github/workflows/release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61ec772ac7ec..68361b199a6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,11 +1,6 @@ on: release: types: [released] - -#on: -# push: -# branches: -# - v2 name: Upload Release Asset @@ -34,12 +29,18 @@ jobs: php artisan key:generate php artisan optimize php artisan storage:link - + sudo php artisan cache:clear + - name: Prepare JS/CSS assets run: | npm i npm run production - + + - name: Cleanup Builds + run: | + sudo rm -rf nodule_modules/ + sudo rm -rf bootstrap/cache/* + - name: Build project # This would actually build your project, using zip for an example artifact run: | zip -r ./invoiceninja.zip ./