mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
ci: add update artifactory cache step in npmjs publish (#870)
Issue: DEVOPS-3822
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user