File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build runner
1+ name : Release runner
22
33on :
44 workflow_dispatch :
88 required : true
99
1010jobs :
11- build -runner :
11+ release -runner :
1212 runs-on : ubuntu-latest
1313 env :
1414 RELEASE_TAG : " ${{ github.event.inputs.bundle-tag }}"
2020 steps :
2121 - uses : actions/checkout@v2
2222
23+ - name : Build runner
24+ run : |
25+ cd runner
26+ npm install
27+ npm run build-runner
28+
29+ - uses : actions/upload-artifact@v2
30+ with :
31+ name : codeql-runner-${{matrix.extension}}
32+ path : runner/dist/codeql-runner-${{matrix.extension}}
33+
2334 - name : Resolve Upload URL for the release
35+ if : ${{ github.event.inputs.bundle-tag != null }}
2436 id : save_url
2537 run : |
2638 UPLOAD_URL=$(curl -sS \
3042 echo ${UPLOAD_URL}
3143 echo "::set-output name=upload_url::${UPLOAD_URL}"
3244
33- - name : Build runner
34- run : |
35- cd runner
36- npm install
37- npm run build-runner
38-
3945 - name : Upload Platform Package
46+ if : ${{ github.event.inputs.bundle-tag != null }}
4047 uses : actions/upload-release-asset@v1
4148 env :
4249 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments