File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 with :
2121 api-key : ${{ secrets.RUNLOOP_API_KEY }}
2222 source-type : git
23+ agent-version : 1.0.0
2324 # agent-name defaults to repository name if not provided
2425 # git-repository defaults to current repository
2526 # git-ref defaults to current commit SHA
Original file line number Diff line number Diff line change 2020 with :
2121 api-key : ${{ secrets.RUNLOOP_API_KEY }}
2222 source-type : git
23+ agent-version : ${{ github.event.release.tag_name }}
2324 agent-name : my-agent-${{ github.event.release.tag_name }}
2425 # git-ref automatically uses the release tag
2526 setup-commands : |
Original file line number Diff line number Diff line change 2323 with :
2424 api-key : ${{ secrets.RUNLOOP_API_KEY }}
2525 source-type : file
26+ agent-version : 1.0.0
2627 agent-name : my-script-agent
2728 path : ./scripts/agent.sh # Path to single file
2829 setup-commands : |
Original file line number Diff line number Diff line change 4545 with :
4646 api-key : ${{ secrets.RUNLOOP_API_KEY }}
4747 source-type : tar
48+ agent-version : 1.0.0
4849 path : agent.tar.gz
4950 agent-name : my-tar-agent
5051 setup-commands : |
8283 with :
8384 api-key : ${{ secrets.RUNLOOP_API_KEY }}
8485 source-type : tar
86+ agent-version : ${{ steps.build.outputs.agent-version }}
8587 path : ${{ steps.build.outputs.archive-path }}
8688 agent-name : built-agent-${{ steps.build.outputs.agent-version }}
8789
@@ -102,6 +104,7 @@ jobs:
102104 with :
103105 api-key : ${{ secrets.RUNLOOP_API_KEY }}
104106 source-type : tar
107+ agent-version : 1.0.0
105108 path : agent.tar
106109
107110 deploy-with-exclusions :
@@ -128,6 +131,7 @@ jobs:
128131 with :
129132 api-key : ${{ secrets.RUNLOOP_API_KEY }}
130133 source-type : tar
134+ agent-version : 1.0.0
131135 path : agent.tar.gz
132136 object-ttl-days : 30
133137 is-public : false
@@ -150,4 +154,5 @@ jobs:
150154 with :
151155 api-key : ${{ secrets.RUNLOOP_API_KEY }}
152156 source-type : tar
157+ agent-version : 1.0.0
153158 path : ./artifacts/agent.tar.gz
You can’t perform that action at this time.
0 commit comments