mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACA-4649] fix npm publishing
This commit is contained in:
parent
fea85f65e8
commit
d63c314200
24
.github/actions/publish-libs/action.yml
vendored
24
.github/actions/publish-libs/action.yml
vendored
@ -76,11 +76,21 @@ runs:
|
||||
- name: publish tag to GH registry
|
||||
shell: bash
|
||||
run: |
|
||||
export PROJECTS=(
|
||||
'aca-shared'
|
||||
'aca-folder-rules'
|
||||
'adf-office-services-ext'
|
||||
'aca-about'
|
||||
'aca-preview'
|
||||
'aca-viewer'
|
||||
'aca-content'
|
||||
);
|
||||
|
||||
for PROJECT in ${PROJECTS[@]}
|
||||
do
|
||||
cd $DIST_DIR/${PROJECT}
|
||||
|
||||
if [[ "${{ inputs.dry-run }}" != "true" ]]; then
|
||||
if [[ "${{ inputs.dry-run }}" == "true" ]]; then
|
||||
echo -e "Publish with dry mode for project to GH registry: $PROJECT\n"
|
||||
echo -e "npm publish --dry-run --tag ${{ inputs.npm_tag }} \n"
|
||||
npm publish --dry-run --tag ${{ inputs.npm_tag }}
|
||||
@ -101,11 +111,21 @@ runs:
|
||||
- name: publish tag to NPM registry
|
||||
shell: bash
|
||||
run: |
|
||||
export PROJECTS=(
|
||||
'aca-shared'
|
||||
'aca-folder-rules'
|
||||
'adf-office-services-ext'
|
||||
'aca-about'
|
||||
'aca-preview'
|
||||
'aca-viewer'
|
||||
'aca-content'
|
||||
);
|
||||
|
||||
for PROJECT in ${PROJECTS[@]}
|
||||
do
|
||||
cd $DIST_DIR/${PROJECT}
|
||||
|
||||
if [[ "${{ inputs.dry-run }}" != "true" ]]; then
|
||||
if [[ "${{ inputs.dry-run }}" == "true" ]]; then
|
||||
echo -e "Publish with dry mode for project to NPM registry: $PROJECT\n"
|
||||
echo -e "npm publish --dry-run --tag ${{ inputs.npm_tag }} \n"
|
||||
npm publish --dry-run --tag ${{ inputs.npm_tag }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user