diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 819edd04..9a6c856a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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