Skip to content

Commit 24584e3

Browse files
committed
chore: update publish workflow to send to socials
1 parent 183773e commit 24584e3

1 file changed

Lines changed: 42 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
prerelease: ${{ contains(steps.version.outputs.VERSION, '-') }}
5757
files: |
5858
./nupkg/*.nupkg
59-
./nupkg/*.snupkg
6059
6160
# Get a short-lived NuGet API key
6261
- name: NuGet login (OIDC → temp API key)
@@ -71,3 +70,45 @@ jobs:
7170
dotnet nuget push $_.FullName --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate
7271
}
7372
shell: pwsh
73+
74+
post-bluesky:
75+
name: Post to BlueSky
76+
needs: publish
77+
uses: CodingWithCalvin/.github/.github/workflows/bluesky-post.yml@main
78+
with:
79+
post_text: |
80+
🔭 CodingWithCalvin.Otel4Vsix ${{ github.ref_name }} has been released!
81+
82+
Add OpenTelemetry observability to your Visual Studio extensions in minutes!
83+
84+
📦 [NuGet](https://www.nuget.org/packages/CodingWithCalvin.Otel4Vsix)
85+
📝 [Release Notes](https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }})
86+
87+
#dotnet #visualstudio #opentelemetry #vsix #nuget
88+
embed_url: https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }}
89+
embed_title: "Otel4Vsix ${{ github.ref_name }}"
90+
embed_description: "OpenTelemetry support library for Visual Studio 2022+ extensions"
91+
secrets:
92+
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
93+
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
94+
95+
post-linkedin:
96+
name: Post to LinkedIn
97+
needs: publish
98+
uses: CodingWithCalvin/.github/.github/workflows/linkedin-post.yml@main
99+
with:
100+
post_text: |
101+
🔭 CodingWithCalvin.Otel4Vsix ${{ github.ref_name }} has been released!
102+
103+
Add OpenTelemetry observability to your Visual Studio extensions in minutes!
104+
105+
📦 NuGet: https://www.nuget.org/packages/CodingWithCalvin.Otel4Vsix
106+
📝 Release Notes: https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }}
107+
108+
#dotnet #visualstudio #opentelemetry #vsix #nuget
109+
article_url: https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }}
110+
article_title: "Otel4Vsix ${{ github.ref_name }}"
111+
article_description: "OpenTelemetry support library for Visual Studio 2022+ extensions"
112+
secrets:
113+
LINKEDIN_ACCESS_TOKEN: ${{ secrets.LINKEDIN_ACCESS_TOKEN }}
114+
LINKEDIN_CLIENT_ID: ${{ secrets.LINKEDIN_CLIENT_ID }}

0 commit comments

Comments
 (0)