Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuget Package Creation - v1.9.26 #76

Merged
merged 9 commits into from
Apr 28, 2024
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@main
with:
files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\App.config'
replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}'
Expand All @@ -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@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.0
uses: abhinavminhas/replace-tokens@main
with:
files: '${{ github.workspace }}\GmailAPIHelper.NET.Tests\bin\Release\credentials.json'
replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}'
Expand Down Expand Up @@ -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@main
with:
files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config'
replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}'
Expand All @@ -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@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.0
uses: abhinavminhas/replace-tokens@main
with:
files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json'
replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}'
Expand Down Expand Up @@ -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@main
with:
files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config'
replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}'
Expand All @@ -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@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.0
uses: abhinavminhas/replace-tokens@main
with:
files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json'
replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@main
with:
files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config'
replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}'
Expand All @@ -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@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.0
uses: abhinavminhas/replace-tokens@main
with:
files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json'
replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget-Package.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testcleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@main
with:
files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/App.config'
replacements: '__GMAILID__=${{ secrets.GMAIL_ID }}'
Expand All @@ -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@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.0
uses: abhinavminhas/replace-tokens@main
with:
files: '${{ github.workspace }}/GmailAPIHelper.CORE.Tests/bin/Release/netcoreapp3.1/credentials.json'
replacements: '__CLIENTSECRET__=${{ secrets.CLIENT_SECRET }}'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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').
Expand Down
16 changes: 8 additions & 8 deletions GmailAPIHelper.NET.Tests/GmailAPIHelper.NET.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Google.Apis, Version=1.67.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Apis.1.67.0\lib\netstandard2.0\Google.Apis.dll</HintPath>
<Reference Include="Google.Apis, Version=1.68.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Apis.1.68.0\lib\netstandard2.0\Google.Apis.dll</HintPath>
</Reference>
<Reference Include="Google.Apis.Auth, Version=1.67.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Apis.Auth.1.67.0\lib\netstandard2.0\Google.Apis.Auth.dll</HintPath>
<Reference Include="Google.Apis.Auth, Version=1.68.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Apis.Auth.1.68.0\lib\netstandard2.0\Google.Apis.Auth.dll</HintPath>
</Reference>
<Reference Include="Google.Apis.Core, Version=1.67.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Apis.Core.1.67.0\lib\netstandard2.0\Google.Apis.Core.dll</HintPath>
<Reference Include="Google.Apis.Core, Version=1.68.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Apis.Core.1.68.0\lib\netstandard2.0\Google.Apis.Core.dll</HintPath>
</Reference>
<Reference Include="Google.Apis.Gmail.v1, Version=1.67.0.3287, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Apis.Gmail.v1.1.67.0.3287\lib\netstandard2.0\Google.Apis.Gmail.v1.dll</HintPath>
<Reference Include="Google.Apis.Gmail.v1, Version=1.68.0.3287, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Apis.Gmail.v1.1.68.0.3287\lib\netstandard2.0\Google.Apis.Gmail.v1.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\MSTest.TestFramework.2.2.8\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
Expand Down
8 changes: 4 additions & 4 deletions GmailAPIHelper.NET.Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Google.Apis" version="1.67.0" targetFramework="net461" />
<package id="Google.Apis.Auth" version="1.67.0" targetFramework="net461" />
<package id="Google.Apis.Core" version="1.67.0" targetFramework="net461" />
<package id="Google.Apis.Gmail.v1" version="1.67.0.3287" targetFramework="net461" />
<package id="Google.Apis" version="1.68.0" targetFramework="net461" />
<package id="Google.Apis.Auth" version="1.68.0" targetFramework="net461" />
<package id="Google.Apis.Core" version="1.68.0" targetFramework="net461" />
<package id="Google.Apis.Gmail.v1" version="1.68.0.3287" targetFramework="net461" />
<package id="MimeKitLite" version="4.5.0" targetFramework="net461" />
<package id="MSTest.TestAdapter" version="2.2.8" targetFramework="net461" />
<package id="MSTest.TestFramework" version="2.2.8" targetFramework="net461" />
Expand Down
6 changes: 3 additions & 3 deletions GmailAPIHelper/GmailAPIHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ Solution Version:
<PackageId>GmailHelper</PackageId>
<RepositoryType>git</RepositoryType>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReleaseNotes>1. MimeKitLite dependency update from ('4.4.0' -&gt; '4.5.0').</PackageReleaseNotes>
<Version>1.9.25</Version>
<PackageReleaseNotes>1. Gmail API dependency update ('1.67.0.3287' -&gt; '1.68.0.3287').</PackageReleaseNotes>
<Version>1.9.26</Version>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Apis.Gmail.v1" Version="1.67.0.3287" />
<PackageReference Include="Google.Apis.Gmail.v1" Version="1.68.0.3287" />
<PackageReference Include="MimeKitLite" Version="4.5.0" />
</ItemGroup>

Expand Down
Loading