Skip to content

fix

fix #2

Workflow file for this run

name: Release
on:
push:
branches:
- 'release/**'
- 'preview/**'
# paths:
# - 'src/**'
workflow_call:
permissions:
actions: read
jobs:
global-variables:
name: 'Global variables'
runs-on: ubuntu-latest
outputs:
github-run-id: ${{ github.run_id }}
github-run-number: ${{ github.run_number }}
steps:
- name: 'Global variables'
id: github
run: |
echo "github-run-id:${{ github.run_id }}"
echo "github-run-number:${{ github.run_number }}"
validate:
name: 'Validate'
runs-on: ubuntu-latest
steps:
- name: 'Checkout ${{ github.head_ref || github.ref }}'
uses: actions/checkout@v4
- name: 'Validate warnings with .NET CLI'
shell: bash
run: dotnet format analyzers --severity warn --verify-no-changes
build:
name: Build
uses: ./.github/workflows/build.yml

Check failure on line 45 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. In .github/workflows/release.yml (Line: 45, Col: 11): Error from called workflow sramekpete/polyline-algorithm-csharp/.github/workflows/build.yml@1b977d4fd825dbd96a303af2355826ea55031513 (Line: 12, Col: 28): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs.pack.outputs.package-artifact-name In .github/workflows/release.yml (Line: 45, Col: 11): Error from called workflow sramekpete/polyline-algorithm-csharp/.github/workflows/build.yml@1b977d4fd825dbd96a303af2355826ea55031513 (Line: 12, Col: 28): Unexpected value '${{ jobs.pack.outputs.package-artifact-name }}'
publish-package:
name: 'Publish'
uses: ./.github/workflows/publish-nuget-package.yml
needs: [global-variables, build]
secrets: inherit
with:
artifact-run-id: ${{ needs.global-variables.outputs.github-run-id }}
artifact-name: ${{ needs.build.outputs.package-artifact-name }}
nuget-feed-server: 'NuGet'
environment: 'NuGet'