Skip to content

Added capability to replay a workflow with the same input in the Dashboard #227

Added capability to replay a workflow with the same input in the Dashboard

Added capability to replay a workflow with the same input in the Dashboard #227

Workflow file for this run

name: Build and test .NET
on:
pull_request:
branches: [ main ]
paths-ignore:
- '.github/**'
workflow_call:
env:
SOLUTION: ./Synapse.sln
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['8.0.x' ]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Pull latest version tag
if: github.event_name != 'pull_request'
run: |
git fetch
git pull
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore "${{ env.SOLUTION }}"
- name: Build
run: dotnet build "${{ env.SOLUTION }}" --configuration Release --no-restore
- name: Cache build items
if: github.event_name != 'pull_request'
uses: actions/cache@v3
id: build-dotnet-cache
with:
path: ./**/Release/*.nupkg
key: build-dotnet-cache-${{ github.sha }}