From 03399b12c620b6b37e226c69d493f195b7029d77 Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Mon, 29 Dec 2025 20:58:05 -0500 Subject: [PATCH] chore: update publish workflow to send to socials --- .github/workflows/publish.yml | 43 ++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 98e19f3..f8412ad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,7 +56,6 @@ jobs: prerelease: ${{ contains(steps.version.outputs.VERSION, '-') }} files: | ./nupkg/*.nupkg - ./nupkg/*.snupkg # Get a short-lived NuGet API key - name: NuGet login (OIDC → temp API key) @@ -71,3 +70,45 @@ jobs: dotnet nuget push $_.FullName --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate } shell: pwsh + + post-bluesky: + name: Post to BlueSky + needs: publish + uses: CodingWithCalvin/.github/.github/workflows/bluesky-post.yml@main + with: + post_text: | + 🔭 CodingWithCalvin.Otel4Vsix ${{ github.ref_name }} has been released! + + Add OpenTelemetry observability to your Visual Studio extensions in minutes! + + 📦 [NuGet](https://www.nuget.org/packages/CodingWithCalvin.Otel4Vsix) + 📝 [Release Notes](https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }}) + + #dotnet #visualstudio #opentelemetry #vsix #nuget + embed_url: https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }} + embed_title: "Otel4Vsix ${{ github.ref_name }}" + embed_description: "OpenTelemetry support library for Visual Studio 2022+ extensions" + secrets: + BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }} + BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }} + + post-linkedin: + name: Post to LinkedIn + needs: publish + uses: CodingWithCalvin/.github/.github/workflows/linkedin-post.yml@main + with: + post_text: | + 🔭 CodingWithCalvin.Otel4Vsix ${{ github.ref_name }} has been released! + + Add OpenTelemetry observability to your Visual Studio extensions in minutes! + + 📦 NuGet: https://www.nuget.org/packages/CodingWithCalvin.Otel4Vsix + 📝 Release Notes: https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }} + + #dotnet #visualstudio #opentelemetry #vsix #nuget + article_url: https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }} + article_title: "Otel4Vsix ${{ github.ref_name }}" + article_description: "OpenTelemetry support library for Visual Studio 2022+ extensions" + secrets: + LINKEDIN_ACCESS_TOKEN: ${{ secrets.LINKEDIN_ACCESS_TOKEN }} + LINKEDIN_CLIENT_ID: ${{ secrets.LINKEDIN_CLIENT_ID }}