Skip to content

Commit bfdd6dc

Browse files
release wf: Adding apt arficactory upload
Signed-off-by: Simon Beaudoin <sbeaudoi@qti.qualcomm.com>
1 parent 573fe90 commit bfdd6dc

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/qcom-release-reusable-workflow.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ on:
3838
secrets:
3939
TOKEN:
4040
required: true
41+
APT_TOKEN:
42+
required: true
4143

4244
permissions:
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'

0 commit comments

Comments
 (0)