Skip to content

Commit 2ebfede

Browse files
committed
chore: minor fixes
1 parent 6f9a633 commit 2ebfede

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
@@ -48,7 +48,6 @@ jobs:
4848
done
4949
5050
- name: Upload Build Artifact
51-
if: ${{ inputs.create-artifact }}
5251
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5352
with:
5453
name: agentapi-build
@@ -59,13 +58,13 @@ jobs:
5958
if: ${{ github.event.action != 'closed' }}
6059
env:
6160
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
RELEASE_TAG: 'agentapi_'${{ github.event.pull_request.number }}
61+
RELEASE_TAG: 'agentapi_${{ github.event.pull_request.number }}'
6362

6463
run: gh release upload "$RELEASE_TAG" "$GITHUB_WORKSPACE"/out/* --clobber
6564

6665
- name: Delete PR Release on Close
6766
if: ${{ github.event.action == 'closed' }}
6867
env:
6968
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70-
RELEASE_TAG: 'agentapi_'${{ github.event.pull_request.number }}
69+
RELEASE_TAG: 'agentapi_${{ github.event.pull_request.number }}'
7170
run: gh release delete "$RELEASE_TAG" --cleanup-tag --yes

0 commit comments

Comments
 (0)