From f050ffb27186d12baf2d4007051a0140689c8233 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 1 Nov 2023 18:45:53 +0900 Subject: [PATCH] Try build on JRuby --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index adbe583..009c132 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,10 +47,11 @@ jobs: - id: build run: | rake build - echo "pkg=${GITHUB_REPOSITORY#*/}-${RUNNING_OS%-*}" >> $GITHUB_OUTPUT + echo "pkg=${GITHUB_REPOSITORY#*/}-${PLATFORM:-${RUNNING_OS%-*}}" >> $GITHUB_OUTPUT env: RUNNING_OS: ${{matrix.os}} - if: ${{matrix.ruby == needs.ruby-versions.outputs.latest}} + PLATFORM: ${{ startsWith(matrix.ruby, 'jruby') && 'java' || '' }} + if: ${{ matrix.ruby == needs.ruby-versions.outputs.latest || matrix.ruby == 'jruby-head' }} shell: bash - name: Upload package uses: actions/upload-artifact@v3