From 087c5285f08bd84aa8e54b113a4db02dafd6bd38 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Fri, 29 Dec 2023 10:14:29 +1100 Subject: [PATCH] updated 0.5.552 --- .github/workflows/chocolatey-publish.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chocolatey-publish.yml b/.github/workflows/chocolatey-publish.yml index cc3316e..664099a 100644 --- a/.github/workflows/chocolatey-publish.yml +++ b/.github/workflows/chocolatey-publish.yml @@ -13,18 +13,33 @@ jobs: - name: Checkout Repository uses: actions/checkout@v2 + # - name: Extract Version from .nuspec + # id: set_version + # run: | + # $xml = [xml](Get-Content stackql/stackql.nuspec) + # $version = $xml.package.metadata.version + # echo "VERSION=$version" >> $GITHUB_ENV + - name: Extract Version from .nuspec - id: set_version run: | $xml = [xml](Get-Content stackql/stackql.nuspec) $version = $xml.package.metadata.version + echo "Extracted version: $version" echo "VERSION=$version" >> $GITHUB_ENV + shell: pwsh + + # - name: Create Chocolatey Package + # run: | + # echo "creating package for version $env:VERSION" + # cd stackql + # choco pack - name: Create Chocolatey Package run: | echo "creating package for version $env:VERSION" cd stackql choco pack + shell: pwsh - name: Install and Test Chocolatey Package run: choco install stackql --source . -y