From 6b0a16cd4a8b9d63b26bc3f77fd1ff6ea6397e87 Mon Sep 17 00:00:00 2001 From: johnche Date: Wed, 5 Jun 2024 09:33:35 +0800 Subject: [PATCH] latest add upload path --- .github/workflows/build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 195074a..811234c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: build_linux: if: github.event.inputs.build_linux == 'true' name: Linux - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Install LibC++ run: | @@ -44,12 +44,11 @@ jobs: - uses: actions/checkout@v2 - name: Run build script run: | - cd $GITHUB_WORKSPACE bash ./linux64.sh - uses: actions/upload-artifact@v2 with: name: jsc_bin - path: $GITHUB_WORKSPACE/jsc_bin/**/* + path: jsc_bin/**/* build_windows: if: github.event.inputs.build_windows == 'true' @@ -68,27 +67,25 @@ jobs: - name: Run build script shell: cmd run: | - cd %GITHUB_WORKSPACE% .\win64.bat - uses: actions/upload-artifact@v2 with: name: jsc_bin - path: $GITHUB_WORKSPACE/jsc_bin/**/* + path: jsc_bin/**/* build_macos: if: github.event.inputs.build_macos == 'true' name: macOS - runs-on: macos-11 + runs-on: macos-latest steps: - uses: actions/checkout@v2 - name: Run build script run: | - cd $GITHUB_WORKSPACE bash ./osx64.sh - uses: actions/upload-artifact@v2 with: name: jsc_bin - path: $GITHUB_WORKSPACE/jsc_bin/**/* + path: jsc_bin/**/* publish: if: github.event.inputs.do_publish == 'true'