File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 48
48
done
49
49
50
50
- name : Upload Build Artifact
51
- if : ${{ inputs.create-artifact }}
52
51
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
53
52
with :
54
53
name : agentapi-build
@@ -59,13 +58,13 @@ jobs:
59
58
if : ${{ github.event.action != 'closed' }}
60
59
env :
61
60
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
- RELEASE_TAG : ' agentapi_' ${{ github.event.pull_request.number }}
61
+ RELEASE_TAG : ' agentapi_${{ github.event.pull_request.number }}'
63
62
64
63
run : gh release upload "$RELEASE_TAG" "$GITHUB_WORKSPACE"/out/* --clobber
65
64
66
65
- name : Delete PR Release on Close
67
66
if : ${{ github.event.action == 'closed' }}
68
67
env :
69
68
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
70
- RELEASE_TAG : ' agentapi_' ${{ github.event.pull_request.number }}
69
+ RELEASE_TAG : ' agentapi_${{ github.event.pull_request.number }}'
71
70
run : gh release delete "$RELEASE_TAG" --cleanup-tag --yes
You can’t perform that action at this time.
0 commit comments