We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75d6f2b commit a5876e5Copy full SHA for a5876e5
.github/workflows/release.yml
@@ -37,6 +37,10 @@ jobs:
37
38
- name: Configure .npmrc-public
39
run: |
40
+ if [ -z "$ARTIFACTORY_API_KEY" ] || [ -z "$ARTIFACTORY_USERNAME" ]; then
41
+ echo "Error: ARTIFACTORY_API_KEY or ARTIFACTORY_USERNAME is not set"
42
+ exit 1
43
+ fi
44
ARTIFACTORY_API_KEY_ENCODED=$(echo -n $ARTIFACTORY_API_KEY | base64) && cat > .npmrc-public << EOF
45
registry=https://packages.atlassian.com/artifactory/api/npm/npm-public/
46
@atlassian:registry=https://packages.atlassian.com/artifactory/api/npm/npm-public/
0 commit comments