Skip to content

Commit aef9fc9

Browse files
committed
Added catalog identifier to the custom automation workflow
1 parent d2e5a5b commit aef9fc9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/Automation Master SDK Workflow.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ on:
3333
sonarCloudProjectName:
3434
required: true
3535
type: string
36+
catalog-identifier:
37+
required: true
38+
type: string
3639
secrets:
3740
api-key:
3841
required: false
@@ -363,7 +366,7 @@ jobs:
363366
364367
- name: Upload to Catalog
365368
id: uploadToCatalog
366-
run: echo "id=$(dataminer-catalog-upload with-registration --path-to-artifact "${{ steps.findInstallationPackage.outputs.dmappPackageName }}" --artifact-version ${{ inputs.referenceName }} --branch "${{ steps.findBranch.outputs.branch }}" --dm-catalog-token ${{ secrets.api-key }})" >> $GITHUB_OUTPUT
369+
run: echo "id=$(dataminer-catalog-upload with-registration --path-to-artifact "${{ steps.findInstallationPackage.outputs.dmappPackageName }}" --artifact-version ${{ inputs.referenceName }} --catalog-identifier "${{ inputs.catalog-identifier }}" --branch "${{ steps.findBranch.outputs.branch }}" --dm-catalog-token ${{ secrets.api-key }})" >> $GITHUB_OUTPUT
367370

368371
- name: (Release) Set artifact Id
369372
run: echo "result-artifact-id=${{ steps.uploadToCatalog.outputs.id }}" >> $GITHUB_ENV

.github/workflows/dataminer-cicd-automation.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
repository: ${{ github.repository }}
2525
owner: ${{ github.repository_owner }}
2626
sonarCloudProjectName: SkylineCommunications_Low-Code-App-Extensions
27+
catalog-identifier: 95a6c64b-42e8-4b01-b154-c55fe2c0750f
2728
secrets:
2829
# The API-key: generated in the DCP Admin app (https://admin.dataminer.services/) as authentication for a certain DataMiner System.
2930
api-key: ${{ secrets.DATAMINER_DEPLOY_KEY }}

0 commit comments

Comments
 (0)