Merge pull request #16 from ravager-dk:ZoomVDIUniversal_5.17.6 #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Zoom VDI plugin publish | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- 'Zoom-VDI-Universal-Plugin/**' | |
jobs: | |
Test-zoom-Package: | |
runs-on: windows-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: 🦺 Install validation extension | |
run: choco install chocolatey-community-validation.extension -y | |
- name: 📦 Pack Chocolatey Package | |
run: choco pack Zoom-VDI-Universal-Plugin/zoom-vdi-universal-plugin.nuspec | |
- name: 🚀 Install Chocolatey Package | |
run: choco install zoom-vdi-universal-plugin -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'" | |
Publish-zoom-Package: | |
runs-on: windows-latest | |
needs: Test-zoom-Package | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: 📦 Pack Chocolatey Package | |
run: choco pack Zoom-VDI-Universal-Plugin/zoom-vdi-universal-plugin.nuspec | |
- name: 🔐 Set Chocolatey API-KEY | |
run: choco apikey --api-key ${{ secrets.API_KEY }} -source https://push.chocolatey.org/ | |
- name: 🚀 Push Chocolatey Package | |
run: choco push -source https://push.chocolatey.org/ |