Skip to content

Publish NuGet (PUBLIC!) #46

Publish NuGet (PUBLIC!)

Publish NuGet (PUBLIC!) #46

name: Publish NuGet (PUBLIC!)
on: workflow_dispatch
jobs:
publish-release:
name: "Publish release"
strategy:
matrix:
osversion: [Windows]
ostype: ['self-hosted']
fail-fast: false
runs-on: ${{ matrix.osversion }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Publish to private Nugets
shell: bash
env:
TOKEN_FOR_NUGET : ${{ secrets.TOKEN_FOR_NUGET }}
GH_RELEASE_TOKEN : ${{ secrets.GH_RELEASE_TOKEN }}
REPOSITORY_OWNER : ${{ github.repository_owner }}
REPOSITORY_NAME : ${{ github.event.repository.name }}
PARTNER_SECRET : ${{ secrets.PARTNER_SECRET }}
NUGET_ORG_API_KEY : ${{ secrets.NUGET_ORG_API_KEY }}
AZURE_VAULT_DESCRIPTION_URL : ${{ secrets.AZURE_VAULT_DESCRIPTION_URL }}
AZURE_VAULT_URL : ${{ secrets.AZURE_VAULT_URL }}
AZURE_VAULT_CERTIFICATE : ${{ secrets.AZURE_VAULT_CERTIFICATE }}
AZURE_VAULT_CLIENT_ID : ${{ secrets.AZURE_VAULT_CLIENT_ID }}
AZURE_VAULT_CLIENT_SECRET : ${{ secrets.AZURE_VAULT_CLIENT_SECRET }}
AZURE_VAULT_TENANT_ID : ${{ secrets.AZURE_VAULT_TENANT_ID }}
run: bash build.sh fluxzy-publish-nuget-public-with-note