From 3a6ff67b54b0e3220344f5ea49b5e6ddbf2859d9 Mon Sep 17 00:00:00 2001 From: Juan Martinez Ramirez Date: Thu, 11 Apr 2024 14:35:23 -0600 Subject: [PATCH] Add matrix values to check current and latest version of AWS --- .github/workflows/main.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86da91f0e..b7ca8cf9d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,6 +36,7 @@ jobs: matrix: dotnet: ['net6.0', 'net472', 'net471'] cloud_env: ['AZURE', 'GCP', 'AWS'] + pkg_version: ['current', 'latest'] steps: - uses: actions/checkout@v3 - name: Setup Dotnet @@ -56,9 +57,17 @@ jobs: run: | gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETER_SECRET" \ ./.github/workflows/parameters/parameters_${{ matrix.cloud_env }}.json.gpg > Snowflake.Data.Tests/parameters.json - - name: Build Driver + - name: Build Driver Current + if: ${{ matrix.pkg_version == 'current' }} + run: | + cd Snowflake.Data.Tests + dotnet restore + dotnet build -f ${{ matrix.dotnet }} + - name: Build Driver Latest + if: ${{ matrix.pkg_version == 'latest' }} run: | cd Snowflake.Data.Tests + dotnet add ./../Snowflake.Data/Snowflake.Data.csproj package AWSSDK.S3 dotnet restore dotnet build -f ${{ matrix.dotnet }} - name: Run Tests