diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8cddd2e..fe8015c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ on: - '*' env: - VERSION: 1.3.${{ github.run_number }} + VERSION: 1.3.4.${{ github.run_number }}-alpha jobs: build: @@ -71,3 +71,9 @@ jobs: with: name: ChocolatelyPackage path: Source\ChocolatelyPackages\sqlcequery.${{ env.VERSION }}.nupkg + + - name: Upload Chocolately Package asset + if: github.ref == 'refs/heads/master' + run: | + choco apikey --key ${{ secrets.CHOCOLATEY_API_KEY }} --source https://push.chocolatey.org/ + choco push Source\ChocolatelyPackages\sqlcequery.${{ env.VERSION }}.nupkg --source https://push.chocolatey.org/