diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 62a2dea074..f6c744958f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -183,7 +183,6 @@ jobs: run: | Copy-Item .\src\net\KNetPS\MASES.KNetPS.psd1 -Destination .\MASES.KNetPS\MASES.KNetPS.psd1 -Force Copy-Item .\src\net\KNetPS\MASES.KNetPS.psm1 -Destination .\MASES.KNetPS\MASES.KNetPS.psm1 -Force - New-FileCatalog -Path .\MASES.KNetPS\ -CatalogFilePath .\MASES.KNetPS\MASES.KNetPS.cat shell: pwsh - name: Create PowerShell package diff --git a/.github/workflows/pullrequest.yaml b/.github/workflows/pullrequest.yaml index eede35e6ee..25f0e0c3ba 100644 --- a/.github/workflows/pullrequest.yaml +++ b/.github/workflows/pullrequest.yaml @@ -24,7 +24,7 @@ jobs: run: | mapfile -d ',' -t added_modified_files < <(printf '%s,' '${{ steps.get_changed_files.outputs.added_modified }}') for added_modified_file in "${added_modified_files[@]}"; do - if [[ $added_modified_file == ".github/workflows/build.yaml"* ]]; then + if [[ $added_modified_file == ".github/workflows/pullrequest.yaml"* ]]; then echo "$added_modified_file is myself." echo "run_build_windows=true" >> $GITHUB_OUTPUT break @@ -150,7 +150,6 @@ jobs: run: | Copy-Item .\src\net\KNetPS\MASES.KNetPS.psd1 -Destination .\MASES.KNetPS\MASES.KNetPS.psd1 -Force Copy-Item .\src\net\KNetPS\MASES.KNetPS.psm1 -Destination .\MASES.KNetPS\MASES.KNetPS.psm1 -Force - New-FileCatalog -Path .\MASES.KNetPS\ -CatalogFilePath .\MASES.KNetPS\MASES.KNetPS.cat shell: pwsh - name: Create PowerShell package diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 32d9678f56..3af4abaaa9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -191,7 +191,6 @@ jobs: run: | Copy-Item .\src\net\KNetPS\MASES.KNetPS.psd1 -Destination .\MASES.KNetPS\MASES.KNetPS.psd1 -Force Copy-Item .\src\net\KNetPS\MASES.KNetPS.psm1 -Destination .\MASES.KNetPS\MASES.KNetPS.psm1 -Force - New-FileCatalog -Path .\MASES.KNetPS\ -CatalogFilePath .\MASES.KNetPS\MASES.KNetPS.cat shell: pwsh - name: Recompile to create nuget packages