Skip to content

Publish to Cloudsmith #5

Publish to Cloudsmith

Publish to Cloudsmith #5

name: Publish to Cloudsmith
on:
push:
tags:
- v*-preview.*
jobs:
publish-nuget:
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev
with:
source: https://nuget.cloudsmith.io/lombiq/open-source-orchard-core-extensions/v3/index.json
secrets:
API_KEY: ${{ secrets.CLOUDSMITH_NUGET_PUBLISH_API_KEY }}
publish-nuget:

Check failure on line 15 in .github/workflows/publish-cloudsmith.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-cloudsmith.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev
with:
token: ${{ secrets.CHECKOUT_TOKEN }}
- name: Set up .NET
uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@dev
with:
dotnet-version: 8.0.x
- name: Setup NuGet Version
id: setup
shell: pwsh
run: |
dotnet nuget list source