We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1122e81 commit 58a9543Copy full SHA for 58a9543
.github/workflows/pr-preview-build.yml
@@ -61,14 +61,13 @@ jobs:
61
RELEASE_TAG: 'agentapi_${{ github.event.pull_request.number }}'
62
63
run: |
64
-
65
# Check if release exists
66
if gh release view "$RELEASE_TAG" &>/dev/null; then
67
echo "Updating release $RELEASE_TAG"
68
- gh release upload "$RELEASE_TAG" out/* --clobber
+ gh release upload "$RELEASE_TAG" "$GITHUB_WORKSPACE"/out/* --clobber
69
else
70
echo "Creating release $RELEASE_TAG"
71
- gh release create "$RELEASE_TAG" out/* \
+ gh release create "$RELEASE_TAG" "$GITHUB_WORKSPACE"/out/* \
72
--title "$RELEASE_TAG" \
73
--notes "Preview release for PR #${PR_NUMBER}"
74
fi
0 commit comments