Skip to content

Collect Stats

Collect Stats #7

Workflow file for this run

name: Collect Stats
on:
schedule:
# At 20:00 on day-of-month 1 and 16.
- cron: '0 20 1,16 * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: dapr/setup-dapr@v1
id: install-dapr
with:
version: '1.13.0'
- name: Run dapr init
run: dapr init
- name: Check dapr versions
run: dapr -v
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore ./CollectDaprStats/CollectDaprStats.csproj
- name: Build solution
run: dotnet build ./CollectDaprStats/CollectDaprStats.csproj --configuration Release
- name: Run solution
run: dapr run -f .