microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
91427f12753b43af544fcd5f77244b200b039c87

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/publish.yml

33lines · modecode

1name: Publish
2
3on:
4 workflow_call:
5 workflow_dispatch:
6 push:
7 branches: ['main']
8
9permissions: read-all
10
11jobs:
12 build-test-lint:
13 name: Build & Test & Lint
14 uses: ./.github/workflows/build-test-lint.yml
15 permissions: read-all
16 publish:
17 name: Publish
18 needs: build-test-lint
19 runs-on: ubuntu-latest
20 permissions:
21 contents: read
22 packages: write
23 steps:
24 - name: Checkout
25 uses: actions/checkout@v4
26 - name: Setup .NET
27 uses: actions/setup-dotnet@v4
28 with:
29 dotnet-version: '9.0'
30 - name: Pack
31 run: dotnet pack
32 - name: Publish
33 run: dotnet nuget push Libraries/**/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/microsoft/index.json --skip-duplicate