Skip to content

Update actions/setup-dotnet action to v4 (#8) #28

Update actions/setup-dotnet action to v4 (#8)

Update actions/setup-dotnet action to v4 (#8) #28

Workflow file for this run

name: Test
on:
workflow_call:
pull_request:
branches:
- main
push:
branches:
- main
- renovate/**
jobs:
test-publish-nuget:
name: It publishes NuGet packages
runs-on: ubuntu-latest
environment: Publish to NuGet.org
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Set unique package version
run: echo "VERSION=0.0.${GITHUB_RUN_NUMBER}-pre" >> $GITHUB_ENV
working-directory: "test"
- name: Test the action
uses: ./
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
working-directory: "test"