From 1f899935a00087410942324e0eb77cf17196169e Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 11 Apr 2022 11:28:51 +0200 Subject: [PATCH] Update plugin-tests.yml --- .github/workflows/plugin-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/plugin-tests.yml b/.github/workflows/plugin-tests.yml index 94357cb7..de1133e4 100644 --- a/.github/workflows/plugin-tests.yml +++ b/.github/workflows/plugin-tests.yml @@ -48,7 +48,7 @@ jobs: fetch-depth: 1 - name: Install plugin - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: plugins/${{ github.event.repository.name }} ref: "${{ github.base_ref }}" @@ -140,12 +140,12 @@ jobs: - name: RSpec with Coverage if: matrix.build_type == 'backend' run: | - if [ -e plugins/${{ steps.repo-name.outputs.value }}/.simplecov ] + if [ -e plugins/${{ github.event.repository.name }}/.simplecov ] then - cp plugins/${{ steps.repo-name.outputs.value }}/.simplecov .simplecov + cp plugins/${{ github.event.repository.name }}/.simplecov .simplecov export COVERAGE=1 fi - bin/rake plugin:spec[${{ steps.repo-name.outputs.value }}] + bin/rake plugin:spec[${{ github.event.repository.name }}] - name: Wizard QUnit if: matrix.build_type == 'frontend'