ci: add update artifactory cache step in npmjs publish (#870)

Issue: DEVOPS-3822
This commit is contained in:
Danny Bédard
2025-07-17 12:16:56 -04:00
committed by GitHub
parent 8287cf0681
commit 67e0c3c401
+8 -3
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