From d7053ad52b467d8697610971c14265d89540b288 Mon Sep 17 00:00:00 2001 From: Piotr Chromiec Date: Tue, 27 Apr 2021 03:25:22 +0200 Subject: [PATCH] Merge pull request #1275 from golemfactory/mwu/ci-split [CI] Make goth.yml to use artifact from rust.yml --- .github/workflows/goth.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/goth.yml b/.github/workflows/goth.yml index 0d076061fd..7d3ed4c719 100644 --- a/.github/workflows/goth.yml +++ b/.github/workflows/goth.yml @@ -41,20 +41,21 @@ jobs: - name: Log in to GitHub Docker repository run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${{github.actor}} --password-stdin -# - name: Download Yagna artifact -# uses: actions/download-artifact@v2 -# with: -# name: 'Yagna Linux' -# path: /tmp/yagna-build + - name: Download artifact + uses: dawidd6/action-download-artifact@v2 + with: + workflow: rust.yml + commit: ${{github.event.workflow_run.head_sha}} + workflow_conclusion: success + name: 'Yagna Linux' + path: /tmp/yagna-build - name: Run test suite env: GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | poetry run poe goth-assets - poetry run poe goth-tests --config-override docker-compose.build-environment.commit-hash=${{ github.event.workflow_run.head_sha }} - - # poetry run poe goth-tests --config-override docker-compose.build-environment.binary-path=/tmp/yagna-build + poetry run poe goth-tests --config-override docker-compose.build-environment.binary-path=/tmp/yagna-build - name: Upload test logs uses: actions/upload-artifact@v2