File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 secrets :
3939 TOKEN :
4040 required : true
41+ APT_TOKEN :
42+ required : true
4143
4244permissions :
4345 contents : read
@@ -247,6 +249,29 @@ jobs:
247249
248250 git log --graph --oneline -n 10 --color=always
249251
252+ upload-to-apt-artifactory :
253+ needs : pkg-release
254+ runs-on : ubuntu-latest
255+ steps :
256+ - name : Download build artifacts
257+ uses : actions/download-artifact@v4
258+ with :
259+ name : build-artifacts
260+ path : build/
261+
262+ - name : Upload to apt artifactory
263+ uses : qualcomm-linux/apt-artifactory-action/upload@main
264+ with :
265+ server_url : " https://apigwx-aws.qualcomm.com/saga/api/qsc/v1/chipSoftware/component/artifactory/release/artifact/debian/public/create/token"
266+ target_base_repo : ${{ split(github.repository, '/')[1] }}
267+ changes_path : " ./build/"
268+ provenance_info : |
269+ {
270+ "commit": "${{ github.sha }}",
271+ "workflow": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
272+ }
273+ qsc_api_key : ${{ secrets.APT_TOKEN }}
274+
250275 upload-to-s3 :
251276 needs : pkg-release
252277 runs-on : ' lecore-prd-u2404-arm64-xlrg-od-ephem'
You can’t perform that action at this time.
0 commit comments