From 294c6e1ed4b170a8a34ab95c84453829c170223c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 25 Dec 2023 15:08:05 +0900 Subject: [PATCH] Build packages only on the latest release --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c2decb..2986de0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,11 @@ jobs: env: RUNNING_OS: ${{matrix.os}} shell: bash - if: ${{ matrix.os != 'windows-latest' }} + if: >- + ${{ + matrix.os != 'windows-latest' && + matrix.ruby == needs.ruby-versions.outputs.latest + }} - name: Upload package uses: actions/upload-artifact@v3 with: