Skip to content

fix(tests): adjust lambda middleware formatting in unit test #17

fix(tests): adjust lambda middleware formatting in unit test

fix(tests): adjust lambda middleware formatting in unit test #17

name: Publish Core Preview

Check failure on line 1 in .github/workflows/publish-preview.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-preview.yaml

Invalid workflow file

(Line: 25, Col: 5): Unexpected value 'uses', (Line: 26, Col: 5): Unexpected value 'with'
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
- '.github/workflows/docs.yaml'
- 'pyproject.toml'
- 'uv.lock'
- '**.md'
workflow_dispatch:
permissions:
contents: read
jobs:
resolve:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
uses: LayeredCraft/devops-templates/.github/workflows/publish-preview.yml@v10.3
with:
solution: MinimalLambda.sln
dotnetVersion: 11.0.x
prereleaseIdentifier: preview
hasTests: false
buildConfiguration: Release
push:
needs: [resolve, build]
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: LayeredCraft/devops-templates/.github/actions/nuget-push@v10.3
with:
user: ${{ secrets.NUGET_USER }}
- name: Publish core preview packages and symbols without duplicate suppression
env:
NUGET_API_KEY: ${{ steps.nuget-login.outputs.NUGET_API_KEY }}
shell: bash
run: |
set -euo pipefail
# dotnet nuget push discovers and publishes adjacent .snupkg automatically.
for package in artifacts/*.nupkg; do
dotnet nuget push "$package" \
--api-key "$NUGET_API_KEY" \
--source https://api.nuget.org/v3/index.json
done