Skip to content

Commit

Permalink
fix(ci): artifact path is not preserved
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonianb committed Aug 23, 2024
1 parent 9c4ae06 commit 309c630
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
outputs:
WORKER_SCRIPT: ${{ steps.get-script.outputs.WORKER_SCRIPT }}
WORKER_SCRIPT: ${{ steps.get-script.outputs.WORKER_SCRIPT_FILENAME }}

env:
wranglerVersion: "3.68.0"
Expand Down Expand Up @@ -112,6 +112,7 @@ jobs:
fi
echo "WORKER_SCRIPT=${worker_script}" >> "$GITHUB_OUTPUT"
echo "WORKER_SCRIPT_FILENAME=$(basename $worker_script)" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -155,6 +156,6 @@ jobs:
- uses: actions/attest@2da0b136720d14f01f4dbeeafd1d5a4d76cbe21d # v1.4.0
id: attest
with:
subject-path: ${{ github.event.inputs.directory }}/${{ needs.deploy.outputs.WORKER_SCRIPT }}
subject-path: ${{ needs.deploy.outputs.WORKER_SCRIPT }}
predicate-type: ${{ steps.generate-build-provenance-predicate.outputs.predicate-type }}
predicate: ${{ steps.update-predicate.outputs.predicate }}

0 comments on commit 309c630

Please sign in to comment.