From c8cd97cf22c7f8a802804c0ec08858d51b96c521 Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Mon, 10 Aug 2020 11:44:46 -0300 Subject: [PATCH] Upload things so we can download it and compare to fix the bug can't find crate for `prost_derive` which `prost_build` https://github.com/ankitects/anki/pull 729 --- .github/workflows/checks.yml | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 612b0c336..95e3e5cc2 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -278,6 +278,43 @@ jobs: with: node-version: 12 + # Upload things so we can download it and compare to fix the bug: + # can't find crate for `prost_derive` which `prost_build` - https://github.com/ankitects/anki/pull/729 + - name: Upload pyenv + if: matrix.os == 'macos-latest' && matrix.BUILD_TYPE == 'check' + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.os }}-pyenv + path: ${{ github.workspace }}${{ matrix.SEP }}pyenv + + - name: Upload index + if: matrix.os == 'macos-latest' && matrix.BUILD_TYPE == 'check' + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.os }}-index + path: ${{ matrix.CARGO_INDEX_DIR }} + + - name: Upload registry + if: matrix.os == 'macos-latest' && matrix.BUILD_TYPE == 'check' + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.os }}-registry + path: ${{ matrix.CARGO_REGISTRY_DIR }} + + - name: Upload rslib + if: matrix.os == 'macos-latest' && matrix.BUILD_TYPE == 'check' + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.os }}-rslib + path: ${{ github.workspace }}${{ matrix.SEP }}rslib${{ matrix.SEP }}target + + - name: Upload rspy + if: matrix.os == 'macos-latest' && matrix.BUILD_TYPE == 'check' + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.os }}-rspy + path: ${{ github.workspace }}${{ matrix.SEP }}rspy${{ matrix.SEP }}target + - run: make develop if: matrix.BUILD_TYPE == 'build'