diff --git a/.github/workflows/linux_amd64.yml b/.github/workflows/linux_amd64.yml index f2d1e8310..6d23bebd5 100644 --- a/.github/workflows/linux_amd64.yml +++ b/.github/workflows/linux_amd64.yml @@ -1,10 +1,6 @@ name: Linux amd64 -on: - workflow_run: - workflows: ["MacOS amd64", "MacOS aarch64"] - types: - - completed +on: [push] jobs: build: @@ -30,5 +26,8 @@ jobs: path: . - name: Build run: ./gradlew buildNatives - - name: Check results - run: ls -l build/natives/ + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: linux-windows-amd64-artifacts + path: build/natives/*/*[.so, .dylib, .dll] diff --git a/.github/workflows/macosx_aarch64.yml b/.github/workflows/macosx_aarch64.yml index 917c2976a..621f31efa 100644 --- a/.github/workflows/macosx_aarch64.yml +++ b/.github/workflows/macosx_aarch64.yml @@ -28,4 +28,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: macosx-aarch64-artifacts - path: build/natives/macosx_aarch64_clang + path: build/natives/*/*[.so, .dylib, .dll] diff --git a/.github/workflows/macosx_amd64.yml b/.github/workflows/macosx_amd64.yml index 1fc6e4b26..d1c9f70ae 100644 --- a/.github/workflows/macosx_amd64.yml +++ b/.github/workflows/macosx_amd64.yml @@ -29,4 +29,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: macosx-amd64-artifacts - path: build/natives/macosx_amd64_clang + path: build/natives/*/*[.so, .dylib, .dll]