debug and attempted fix

This commit is contained in:
burnettk 2024-02-02 13:35:46 -05:00
parent 539a9f15de
commit aed230626c
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -54,6 +54,7 @@ jobs:
run_id: context.payload.workflow_run.id, run_id: context.payload.workflow_run.id,
}); });
console.log("download artifact: got allArtifacts") console.log("download artifact: got allArtifacts")
console.log("download artifact: allArtifacts: ", allArtifacts)
let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => { let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {
return artifact.name == "pr_number" return artifact.name == "pr_number"
})[0]; })[0];

View File

@ -314,7 +314,11 @@ jobs:
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: pr_number name: pr_number
path: pr/ # at https://github.com/sartography/spiff-arena/actions/runs/7757308061/job/21156982087, for example,
# it said: "Warning: No files were found with the provided path: pr", so assuming this is running
# from spiff-arena root rather than the default working-directory we specified, and therefore
# trying to explicitly add spiffworkflow-backend to path
path: spiffworkflow-backend/pr/
tests-frontend: tests-frontend:
runs-on: ubuntu-latest runs-on: ubuntu-latest