From 5ac0de4a4bbbefebe7265872e2430a5bc604d3e4 Mon Sep 17 00:00:00 2001 From: Stefan Saasen <746+juretta@users.noreply.github.com> Date: Mon, 11 Jan 2021 13:59:06 +0100 Subject: [PATCH] Use the correct property in the "Upload artifact" step The `needs.build` accessor is only available in downstream jobs that depend on the `build` job. For steps that are part of the same job, the `needs.build.outputs.artifact` property is empty. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3a0f54..bc788dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -135,7 +135,7 @@ jobs: uses: actions/upload-artifact@v1 with: name: plugin-artifact - path: ./build/distributions/${{ needs.build.outputs.artifact }} + path: ./build/distributions/${{ steps.properties.outputs.artifact }} # Verify built plugin using IntelliJ Plugin Verifier tool # Requires build job to be passed