From 64f6aab16aa04c405462c62908af4c17e3e7f75b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?SIGUI=20Kess=C3=A9=20Emmanuel?= Date: Tue, 7 Nov 2023 10:03:01 +0100 Subject: [PATCH] :green_heart: Use upload/download artifacts --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa125be..b2be5dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,12 @@ jobs: - name: ๐Ÿ“ฆ๏ธ Compile assets run: bun run build + - name: ๐Ÿšš Upload distribution files + uses: actions/upload-artifact@v2 + with: + name: dist-files + path: public/static + serve: needs: build runs-on: ${{ matrix.os }} @@ -111,8 +117,14 @@ jobs: - name: โšก๏ธ Optimize Stuffs run: set -e && php artisan optimize --env=ci + - name: ๐Ÿšš Download distribution files + uses: actions/download-artifact@v2 + with: + name: dist-files + path: public/static + - name: ๐Ÿ“‚ List public/ - run: ls public/ + run: ls public/static - name: ๐Ÿงช Test features run: |