Skip to content

Update ModularPipelines to 2.42.140 #281

Update ModularPipelines to 2.42.140

Update ModularPipelines to 2.42.140 #281

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
inputs:
publish-packages:
description: Publish packages?
type: boolean
required: true
jobs:
modularpipeline:
environment: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pull Requests' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Run Pipeline
run: dotnet run -c Release
working-directory: "EnumerableAsyncProcessor.Pipeline"
env:
DOTNET_ENVIRONMENT: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Development' }}
NuGet__ApiKey: ${{ github.ref == 'refs/heads/main' && secrets.NuGet__ApiKey || null }}
PULL_REQUEST_BRANCH: ${{ github.event.pull_request.head.ref }}
PUBLISH_PACKAGES: ${{ github.event.inputs.publish-packages }}