mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-12-23 12:26:46 +00:00
[DEVOPS-3822] chore: add update artifactory cache step in npmjs publish
This commit is contained in:
parent
8287cf0681
commit
28589291a9
1 changed files with 8 additions and 3 deletions
11
.github/workflows/npm-publish.yml
vendored
11
.github/workflows/npm-publish.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue