Skip to content

Commit 58a9543

Browse files
committed
chore: minor fixes
1 parent 1122e81 commit 58a9543

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pr-preview-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,13 @@ jobs:
6161
RELEASE_TAG: 'agentapi_${{ github.event.pull_request.number }}'
6262

6363
run: |
64-
6564
# Check if release exists
6665
if gh release view "$RELEASE_TAG" &>/dev/null; then
6766
echo "Updating release $RELEASE_TAG"
68-
gh release upload "$RELEASE_TAG" out/* --clobber
67+
gh release upload "$RELEASE_TAG" "$GITHUB_WORKSPACE"/out/* --clobber
6968
else
7069
echo "Creating release $RELEASE_TAG"
71-
gh release create "$RELEASE_TAG" out/* \
70+
gh release create "$RELEASE_TAG" "$GITHUB_WORKSPACE"/out/* \
7271
--title "$RELEASE_TAG" \
7372
--notes "Preview release for PR #${PR_NUMBER}"
7473
fi

0 commit comments

Comments
 (0)