From 9de4ff8c93290f72f45e5b01cc440dc2a9776739 Mon Sep 17 00:00:00 2001 From: Mutzi Date: Sun, 28 May 2023 15:15:50 +0200 Subject: [PATCH] Fix CI --- .gitea/workflows/build.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9824950..80f6dfb 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -46,7 +46,7 @@ jobs: container: image: node:current-alpine steps: - - run: apk add git + - run: apk add git tar - uses: actions/checkout@v3 - name: Install packages run: yarn install --frozen-lockfile @@ -57,11 +57,13 @@ jobs: - name: Build run: yarn build working-directory: frontend + - run: tar -cf ../frontend.tar * + working-directory: frontend/dist - name: Upload frontend uses: actions/upload-artifact@v3 with: - name: frontend - path: frontend/dist/* + name: frontend.tar + path: frontend/frontend.tar package: name: Package builds runs-on: 'docker' @@ -75,8 +77,10 @@ jobs: - name: Download frontend uses: https://github.com/actions/download-artifact@v3 with: - name: frontend - path: static + name: frontend.tar + path: static/frontend.tar + - run: tar -xf frontend.tar && rm frontend.tar + working-directory: static - name: Download backend-glibc uses: https://github.com/actions/download-artifact@v3 with: @@ -87,7 +91,7 @@ jobs: - name: Upload package-glibc uses: actions/upload-artifact@v3 with: - name: package-glibc + name: linux-x64-glibc.tar.xz path: linux-x64-glibc.tar.xz - name: Download backend-muslc uses: https://github.com/actions/download-artifact@v3 @@ -99,5 +103,5 @@ jobs: - name: Upload package-muslc uses: actions/upload-artifact@v3 with: - name: package-muslc + name: linux-x64-muslc.tar.xz path: linux-x64-muslc.tar.xz \ No newline at end of file