From 7908ae31454411500c76c155b35d9388deaace61 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Fri, 4 Oct 2024 11:12:31 +0200 Subject: [PATCH] Upload after archive to debug issues --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f65b10b..b718078 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -177,6 +177,11 @@ jobs: - name: Create archive run: tar czf ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz -C ~/.rubies ruby-${{ matrix.name }} + - name: Upload Built Ruby + env: + GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} + run: gh release upload "${{ needs.release.outputs.tag }}" "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz" # Test - run: make test-spec MSPECOPT=-j @@ -198,12 +203,6 @@ jobs: - name: Subprocess test run: ruby -e 'p RbConfig::CONFIG["cppflags"]; def Warning.warn(s); raise s; end; system RbConfig.ruby, "-e", "p :OK"' - - name: Upload Built Ruby - env: - GH_TOKEN: ${{ github.token }} - GH_REPO: ${{ github.repository }} - run: gh release upload "${{ needs.release.outputs.tag }}" "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz" - publish: name: Publish Release needs: [release, build]