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.
pull/81/head
Stefan Saasen 3 years ago committed by Jakub Chrzanowski
parent e77b150871
commit 5ac0de4a4b

@ -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

Loading…
Cancel
Save