Skip to content

Bump the dev-dependencies group across 1 directory with 2 updates #63

Bump the dev-dependencies group across 1 directory with 2 updates

Bump the dev-dependencies group across 1 directory with 2 updates #63

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