File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Upload Private Artifacts"
2+ description : " Uploads build artifacts that should not be available for public consumption."
3+ inputs :
4+ path :
5+ description : " Directory containing the files to upload"
6+ required : true
7+ build_id :
8+ description : " Path on fileserver to put artifacts under: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }}"
9+ required : true
10+ fileserver_url :
11+ description : " Server to use for upload"
12+ required : true
13+ default : " https://quic-yocto-fileserver-1029608027416.us-central1.run.app'"
14+ upload_threads :
15+ description : " Number of concurrent upload threads to use"
16+ required : true
17+ default : " 5"
18+ outputs :
19+ url :
20+ description : " URL where objects are availble at"
21+ value : ${{ steps.upload.outputs.url }}
22+ runs :
23+ using : " composite"
24+ steps :
25+ - name : Upload Artifacts
26+ id : upload
27+ env :
28+ BUILD_DIR : ${{ inputs.path }}
29+ BUILD_ID : ${{ inputs.build_id}}
30+ FILE_SERVER : ${{ inputs.fileserver_url }}
31+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ UPLOAD_THREADS : ${{ inputs.upload_threads }}
33+ shell : bash
34+ run : ./publish_artifacts.py
You can’t perform that action at this time.
0 commit comments