From c23e080d893ccec582e6bf671625acdd909ed588 Mon Sep 17 00:00:00 2001 From: Yang Yang <153794571+YuWanTingbb@users.noreply.github.com> Date: Fri, 23 Feb 2024 01:08:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20maven-publish.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven-publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 870df2b..a50fff6 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -28,8 +28,11 @@ jobs: distribution: 'temurin' java-version: '17' - - name: 使用 Maven 构建原生镜像 - run: mvn -Pnative -DskipTests package + - name: Set execute permissions for mvnw + run: chmod +x ./mvnw + + - name: Build native image with Maven + run: ./mvnw native:compile -Pnative - name: 将原生可执行文件重命名并移动到 target 目录 run: |