ci: bun run failed

This commit is contained in:
ReaJason
2024-12-20 02:33:37 +08:00
parent 4df3c2c7b9
commit b14d43ce70
5 changed files with 24 additions and 15 deletions
+7 -2
View File
@@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -29,8 +30,10 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Bun Install
run: cd web && bun install --frozen-lockfile
- name: Build Web
run: cd web && bun install --frozen-lockfile && bun build && bash copy-build.sh
run: cd web && bun run build && bash copy-build.sh
- name: Build with Gradle
run: ./gradlew :boot:bootjar
- name: Upload Jar
@@ -43,6 +46,8 @@ jobs:
needs: [ build ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download Jar
uses: actions/download-artifact@v4
with:
@@ -60,7 +65,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: boot/
context: boot
platforms: linux/amd64,linux/arm64
push: true
tags: reajason/memshell-party:latest