Fix CI
Some checks failed
/ Build backend-glibc (push) Successful in 6m26s
/ Build backend-muslc (push) Successful in 5m42s
/ Build frontend (push) Successful in 2m6s
/ Package builds (push) Failing after 11s

This commit is contained in:
Mutzi 2023-05-28 15:15:50 +02:00
parent 8f3df65ba8
commit 9de4ff8c93

View File

@ -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