Fix CI
This commit is contained in:
parent
8f3df65ba8
commit
9de4ff8c93
@ -46,7 +46,7 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: node:current-alpine
|
image: node:current-alpine
|
||||||
steps:
|
steps:
|
||||||
- run: apk add git
|
- run: apk add git tar
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
@ -57,11 +57,13 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
- run: tar -cf ../frontend.tar *
|
||||||
|
working-directory: frontend/dist
|
||||||
- name: Upload frontend
|
- name: Upload frontend
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: frontend
|
name: frontend.tar
|
||||||
path: frontend/dist/*
|
path: frontend/frontend.tar
|
||||||
package:
|
package:
|
||||||
name: Package builds
|
name: Package builds
|
||||||
runs-on: 'docker'
|
runs-on: 'docker'
|
||||||
@ -75,8 +77,10 @@ jobs:
|
|||||||
- name: Download frontend
|
- name: Download frontend
|
||||||
uses: https://github.com/actions/download-artifact@v3
|
uses: https://github.com/actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: frontend
|
name: frontend.tar
|
||||||
path: static
|
path: static/frontend.tar
|
||||||
|
- run: tar -xf frontend.tar && rm frontend.tar
|
||||||
|
working-directory: static
|
||||||
- name: Download backend-glibc
|
- name: Download backend-glibc
|
||||||
uses: https://github.com/actions/download-artifact@v3
|
uses: https://github.com/actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -87,7 +91,7 @@ jobs:
|
|||||||
- name: Upload package-glibc
|
- name: Upload package-glibc
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: package-glibc
|
name: linux-x64-glibc.tar.xz
|
||||||
path: linux-x64-glibc.tar.xz
|
path: linux-x64-glibc.tar.xz
|
||||||
- name: Download backend-muslc
|
- name: Download backend-muslc
|
||||||
uses: https://github.com/actions/download-artifact@v3
|
uses: https://github.com/actions/download-artifact@v3
|
||||||
@ -99,5 +103,5 @@ jobs:
|
|||||||
- name: Upload package-muslc
|
- name: Upload package-muslc
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: package-muslc
|
name: linux-x64-muslc.tar.xz
|
||||||
path: linux-x64-muslc.tar.xz
|
path: linux-x64-muslc.tar.xz
|
Loading…
Reference in New Issue
Block a user