Fix CI
This commit is contained in:
parent
8f3df65ba8
commit
9de4ff8c93
@ -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
|
Loading…
Reference in New Issue
Block a user