Skip to content

Commit 85183dd

Browse files
Merge pull request #1071 from NordicSemiconductor/push-wsoxuxvoklmw
Check for Artifactory token in release workflow
2 parents 76823d6 + 714475c commit 85183dd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release-app.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ jobs:
3333
name: ${{ inputs.source }}
3434

3535
steps:
36+
- name: Fail on missing Artifactory token
37+
env:
38+
ARTIFACTORY_TOKEN:
39+
${{ secrets.COM_NORDICSEMI_FILES_PASSWORD_SWTOOLS_FRONTEND
40+
}}
41+
if: ${{ !env.ARTIFACTORY_TOKEN }}
42+
run: |
43+
echo '::error::Aborting release because the Artifactory token secret COM_NORDICSEMI_FILES_PASSWORD_SWTOOLS_FRONTEND is missing. To give this repository access to the secret, create a ticket at the CI Help Desk.'
44+
exit 1
45+
3646
- uses: actions/download-artifact@v4
3747
with:
3848
name: ${{ env.ARTIFACT_NAME }}

0 commit comments

Comments
 (0)