diff --git a/action.yml b/action.yml index bf05368..38ce031 100644 --- a/action.yml +++ b/action.yml @@ -149,10 +149,9 @@ runs: # Ensure the previous step succeeded if: steps.previous-report.outcome == 'success' with: - name: report.json - # github-token: ${{ inputs.github-token }} - repository: jalil/nix-flake-outputs-size - run-id: 15 + name: ${{ inputs.artifact-name }} + github-token: ${{ inputs.github-token }} + run-id: ${{ steps.previous-report.outputs.run-id }} - name: Create report if: inputs.comment-on-pr == 'true' || inputs.generate-artifact == 'true' env: