Bump the dev-dependencies group across 1 directory with 2 updates #63
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basics Pull Request | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
branches: [ "main" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
runs-on: windows-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Initialize | |
run: | | |
echo "workspace" ${{ github.workspace }} | |
echo "ref name" ${{ inputs.referenceName }} | |
echo "run number" ${{ inputs.runNumber }} | |
echo "ref type" ${{ inputs.referenceType }} | |
echo "repository" ${{ inputs.repository }} | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'zulu' | |
- name: Install NuGetToggleOnBuild | |
run: dotnet tool install Skyline.DataMiner.CICD.Tools.NuGetToggleOnBuild --global | |
- name: Install NuGetPreBuildApplyBranchOrTag | |
run: dotnet tool install Skyline.DataMiner.CICD.Tools.NuGetPreBuildApplyBranchOrTag --global | |
- name: Install NuGetValidateSkylineSpecifications | |
run: dotnet tool install Skyline.DataMiner.CICD.Tools.NuGetValidateSkylineSpecifications --global | |
- name: Find .sln file | |
id: findSlnFile | |
run: | | |
echo solutionFilePath=$(find . -type f -name '*.sln') >> $GITHUB_OUTPUT | |
shell: bash | |
- name: Validate NuGet Metadata | |
run: NuGetValidateSkylineSpecifications --workspace ${{ github.workspace }} | |
- name: Apply Branch and output path for pre-release NuGet | |
if: inputs.referenceType == 'branch' | |
run: NuGetPreBuildApplyBranchOrTag --workspace ${{ github.workspace }} --tag " " --branch "${{ inputs.referenceName }}" --build ${{ inputs.runNumber }} --nugetResultFolder "${{ github.workspace }}/_NuGetResults" | |
- name: Building | |
run: dotnet build "${{ steps.findSlnFile.outputs.solutionFilePath }}" --configuration Release -nodeReuse:false |