[DEVOPS-3822] chore: add update artifactory cache step in npmjs publish

This commit is contained in:
Danny Bédard 2025-07-17 12:00:17 -04:00
parent 8287cf0681
commit 28589291a9

View file

@ -51,7 +51,7 @@ jobs:
- name: Setup wasm-pack
shell: bash
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install dependencies
shell: pwsh
@ -129,8 +129,8 @@ jobs:
Write-Host "Publishing $($File.Name)..."
$publishCmd = @(
'npm',
'publish',
'npm',
'publish',
"$File",
'--access=public'
)
@ -143,6 +143,11 @@ jobs:
Invoke-Expression $publishCmd
}
- name: Update Artifactory Cache
run: gh workflow run update-artifactory-cache.yml --repo Devolutions/scheduled-tasks --field package_name="iron-remote-desktop"
env:
GH_TOKEN: ${{ secrets.DEVOLUTIONSBOT_WRITE_TOKEN }}
notify:
name: Notify failure
runs-on: ubuntu-latest