diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 00a69f6..6d9ce66 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -15,3 +15,7 @@ jobs: go-version: '1.18.x' - name: Run tests run: go test ./... + - name: Install and run + run: | + make install + pulumictl convert-version -v 0.0.1+dev -l python diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cb6414..43ebdb5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} - name: Chocolatey Package Deployment run: | + make install CURRENT_TAG=$(pulumictl get version --language generic -o) pulumictl create choco-deploy -a pulumictl ${CURRENT_TAG} env: - GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN}} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN}}