From be4a103b61c5c11b162d0afc9e3a3261d916ad4b Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 21 Apr 2024 12:43:00 +1000 Subject: [PATCH 1/9] 'abhinavminhas/replace-tokens' action version update --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/coverage.yml | 6 +++--- .github/workflows/testcleanup.yml | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ffcd8c8..7015487 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: vs-version: ${{ matrix.vs-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -44,13 +44,13 @@ jobs: msbuild GmailAPIHelper.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m - name: Find And Replace Values (OAuth) - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\token.json\Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -81,7 +81,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -91,14 +91,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -126,7 +126,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -136,14 +136,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 25aa619..5e0a847 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -33,14 +33,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/testcleanup.yml b/.github/workflows/testcleanup.yml index f716bcb..b238d01 100644 --- a/.github/workflows/testcleanup.yml +++ b/.github/workflows/testcleanup.yml @@ -27,7 +27,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -37,14 +37,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.0 + uses: abhinavminhas/replace-tokens@v1.x with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' From 11a0fd0331dd69b031c724215a25f46469926e31 Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 21 Apr 2024 12:44:50 +1000 Subject: [PATCH 2/9] 'abhinavminhas/replace-tokens' action version update --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/coverage.yml | 6 +++--- .github/workflows/testcleanup.yml | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7015487..32fa93f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: vs-version: ${{ matrix.vs-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -44,13 +44,13 @@ jobs: msbuild GmailAPIHelper.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m - name: Find And Replace Values (OAuth) - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\token.json\Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -81,7 +81,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -91,14 +91,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -126,7 +126,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -136,14 +136,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5e0a847..547f749 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -33,14 +33,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/testcleanup.yml b/.github/workflows/testcleanup.yml index b238d01..bc02b5c 100644 --- a/.github/workflows/testcleanup.yml +++ b/.github/workflows/testcleanup.yml @@ -27,7 +27,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -37,14 +37,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.x + uses: abhinavminhas/replace-tokens@v1.* with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' From f40dedf2b8e4f0b1b5c2b9c0186671b14b715f23 Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 21 Apr 2024 12:57:01 +1000 Subject: [PATCH 3/9] 'abhinavminhas/replace-tokens' action version update --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/coverage.yml | 6 +++--- .github/workflows/testcleanup.yml | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32fa93f..7810aa7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: vs-version: ${{ matrix.vs-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -44,13 +44,13 @@ jobs: msbuild GmailAPIHelper.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m - name: Find And Replace Values (OAuth) - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\token.json\Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -81,7 +81,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -91,14 +91,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -126,7 +126,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -136,14 +136,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 547f749..5fdd552 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -33,14 +33,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/testcleanup.yml b/.github/workflows/testcleanup.yml index bc02b5c..b489d84 100644 --- a/.github/workflows/testcleanup.yml +++ b/.github/workflows/testcleanup.yml @@ -27,7 +27,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -37,14 +37,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.* + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' From 0036c9e525d0657214c5ee42c36ae5bbd61fe502 Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 21 Apr 2024 13:32:05 +1000 Subject: [PATCH 4/9] 'abhinavminhas/replace-tokens' action version update --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/coverage.yml | 6 +++--- .github/workflows/testcleanup.yml | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7810aa7..85641b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: vs-version: ${{ matrix.vs-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -44,13 +44,13 @@ jobs: msbuild GmailAPIHelper.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m - name: Find And Replace Values (OAuth) - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\token.json\Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -81,7 +81,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -91,14 +91,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -126,7 +126,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -136,14 +136,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5fdd552..9a530d6 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -33,14 +33,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/testcleanup.yml b/.github/workflows/testcleanup.yml index b489d84..ff645a9 100644 --- a/.github/workflows/testcleanup.yml +++ b/.github/workflows/testcleanup.yml @@ -27,7 +27,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -37,14 +37,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@main + uses: abhinavminhas/replace-tokens@1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' From ae59b2f7ebac3e4807c0ba9c46d2db50e85b0ef5 Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 21 Apr 2024 13:34:12 +1000 Subject: [PATCH 5/9] 'abhinavminhas/replace-tokens' action version update --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/coverage.yml | 6 +++--- .github/workflows/testcleanup.yml | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 85641b9..9576507 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: vs-version: ${{ matrix.vs-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -44,13 +44,13 @@ jobs: msbuild GmailAPIHelper.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m - name: Find And Replace Values (OAuth) - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\token.json\Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -81,7 +81,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -91,14 +91,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -126,7 +126,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -136,14 +136,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 9a530d6..0d994fe 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -33,14 +33,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/testcleanup.yml b/.github/workflows/testcleanup.yml index ff645a9..762cb3d 100644 --- a/.github/workflows/testcleanup.yml +++ b/.github/workflows/testcleanup.yml @@ -27,7 +27,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -37,14 +37,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@1.2 + uses: abhinavminhas/replace-tokens@v1.2 with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' From 58aea804df1714d54d6ecde8eed8d4beb0182aad Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 21 Apr 2024 13:43:05 +1000 Subject: [PATCH 6/9] 'abhinavminhas/replace-tokens' action version update --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/coverage.yml | 6 +++--- .github/workflows/testcleanup.yml | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9576507..4890bd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: vs-version: ${{ matrix.vs-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -44,13 +44,13 @@ jobs: msbuild GmailAPIHelper.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m - name: Find And Replace Values (OAuth) - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\token.json\Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -81,7 +81,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -91,14 +91,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -126,7 +126,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -136,14 +136,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 0d994fe..0576f71 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -33,14 +33,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/testcleanup.yml b/.github/workflows/testcleanup.yml index 762cb3d..3ee8223 100644 --- a/.github/workflows/testcleanup.yml +++ b/.github/workflows/testcleanup.yml @@ -27,7 +27,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -37,14 +37,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@v1.2 + uses: abhinavminhas/replace-tokens@latest with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' From 13a906d7d39ea41d8f911113763f72c26680b749 Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 21 Apr 2024 13:46:01 +1000 Subject: [PATCH 7/9] 'abhinavminhas/replace-tokens' action version update --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/coverage.yml | 6 +++--- .github/workflows/testcleanup.yml | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4890bd4..7810aa7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: vs-version: ${{ matrix.vs-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -44,13 +44,13 @@ jobs: msbuild GmailAPIHelper.sln /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m - name: Find And Replace Values (OAuth) - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\token.json\Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -81,7 +81,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -91,14 +91,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == 'N/A' }} - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' @@ -126,7 +126,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -136,14 +136,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 0576f71..5fdd552 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -33,14 +33,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' diff --git a/.github/workflows/testcleanup.yml b/.github/workflows/testcleanup.yml index 3ee8223..b489d84 100644 --- a/.github/workflows/testcleanup.yml +++ b/.github/workflows/testcleanup.yml @@ -27,7 +27,7 @@ jobs: dotnet-version: ${{ matrix.dotnet-version }} - name: Find And Replace Values (App Config) - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config' replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}' @@ -37,14 +37,14 @@ jobs: - name: Find And Replace Values (OAuth) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user' replacements: '__ACCESSTOKEN__=${{ secrets.ACCESS_TOKEN }}' - name: Find And Replace Values (Client Secret) if: ${{ matrix.dotnet-version == '3.1.x' }} - uses: abhinavminhas/replace-tokens@latest + uses: abhinavminhas/replace-tokens@main with: files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json' replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}' From 70ff9a633fbc23a5dbf5b8f9d75a830107e7574c Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 28 Apr 2024 10:29:45 +1000 Subject: [PATCH 8/9] Gmail API dependency update ('1.67.0.3287' -> '1.68.0.3287') --- .../GmailAPIHelper.NET.Tests.csproj | 16 ++++++++-------- GmailAPIHelper.NET.Tests/packages.config | 8 ++++---- GmailAPIHelper/GmailAPIHelper.csproj | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/GmailAPIHelper.NET.Tests/GmailAPIHelper.NET.Tests.csproj b/GmailAPIHelper.NET.Tests/GmailAPIHelper.NET.Tests.csproj index 5da0995..6202887 100644 --- a/GmailAPIHelper.NET.Tests/GmailAPIHelper.NET.Tests.csproj +++ b/GmailAPIHelper.NET.Tests/GmailAPIHelper.NET.Tests.csproj @@ -41,17 +41,17 @@ 4 - - ..\packages\Google.Apis.1.67.0\lib\netstandard2.0\Google.Apis.dll + + ..\packages\Google.Apis.1.68.0\lib\netstandard2.0\Google.Apis.dll - - ..\packages\Google.Apis.Auth.1.67.0\lib\netstandard2.0\Google.Apis.Auth.dll + + ..\packages\Google.Apis.Auth.1.68.0\lib\netstandard2.0\Google.Apis.Auth.dll - - ..\packages\Google.Apis.Core.1.67.0\lib\netstandard2.0\Google.Apis.Core.dll + + ..\packages\Google.Apis.Core.1.68.0\lib\netstandard2.0\Google.Apis.Core.dll - - ..\packages\Google.Apis.Gmail.v1.1.67.0.3287\lib\netstandard2.0\Google.Apis.Gmail.v1.dll + + ..\packages\Google.Apis.Gmail.v1.1.68.0.3287\lib\netstandard2.0\Google.Apis.Gmail.v1.dll ..\packages\MSTest.TestFramework.2.2.8\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll diff --git a/GmailAPIHelper.NET.Tests/packages.config b/GmailAPIHelper.NET.Tests/packages.config index 2ed4ced..e071ed8 100644 --- a/GmailAPIHelper.NET.Tests/packages.config +++ b/GmailAPIHelper.NET.Tests/packages.config @@ -1,9 +1,9 @@  - - - - + + + + diff --git a/GmailAPIHelper/GmailAPIHelper.csproj b/GmailAPIHelper/GmailAPIHelper.csproj index 2ea4da8..796dc1d 100644 --- a/GmailAPIHelper/GmailAPIHelper.csproj +++ b/GmailAPIHelper/GmailAPIHelper.csproj @@ -35,7 +35,7 @@ Solution Version: - + From b614f33dc4760eee3f169d3d4b5600929426e12d Mon Sep 17 00:00:00 2001 From: abhinavminhas Date: Sun, 28 Apr 2024 10:40:05 +1000 Subject: [PATCH 9/9] Nuget package creation - v1.9.26 --- .github/workflows/publish-nuget-Package.yml | 2 +- CHANGELOG.md | 4 ++++ GmailAPIHelper/GmailAPIHelper.csproj | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-nuget-Package.yml b/.github/workflows/publish-nuget-Package.yml index 4feb63a..c6bb1d8 100644 --- a/.github/workflows/publish-nuget-Package.yml +++ b/.github/workflows/publish-nuget-Package.yml @@ -1,7 +1,7 @@ name: Publish Nuget Package env: - NUGET_PACKAGE_NAME_VERSION: "GmailHelper.1.9.25.nupkg" + NUGET_PACKAGE_NAME_VERSION: "GmailHelper.1.9.26.nupkg" on: workflow_dispatch: diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a3c635..58d7a39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project documented here. ## [Released] +## [1.9.26](https://www.nuget.org/packages/GmailHelper/1.9.26) - 2024-04-28 +### Changed +- Gmail API dependency update ('1.67.0.3287' -> '1.68.0.3287'). + ## [1.9.25](https://www.nuget.org/packages/GmailHelper/1.9.25) - 2024-04-20 ### Changed - MimeKitLite dependency update from ('4.4.0' -> '4.5.0'). diff --git a/GmailAPIHelper/GmailAPIHelper.csproj b/GmailAPIHelper/GmailAPIHelper.csproj index 796dc1d..6df6da4 100644 --- a/GmailAPIHelper/GmailAPIHelper.csproj +++ b/GmailAPIHelper/GmailAPIHelper.csproj @@ -30,8 +30,8 @@ Solution Version: GmailHelper git LICENSE - 1. MimeKitLite dependency update from ('4.4.0' -> '4.5.0'). - 1.9.25 + 1. Gmail API dependency update ('1.67.0.3287' -> '1.68.0.3287'). + 1.9.26