Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/buildexternalhelp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Building Help File
env:
RUNSINACTION: 1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/buildpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout PnP.Framework
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: pnp/pnpframework
path: pnpframework
ref: 'dev'
- name: Checkout PnP.Core
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: pnp/pnpcore
path: pnpcore
ref: 'dev'
- name: Checkout PnP.PowerShell
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: powershell
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
10.0.x
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/checkdocumentationbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: master
path: master
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: dev
path: dev
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: gh-pages
path: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanupnightlyreleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: dev
- name: Unlist nightly nuget packages
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
languages: ${{ matrix.language }}

- name: Setup .NET Core
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.x
Expand All @@ -60,4 +60,4 @@ jobs:
run: dotnet build PnP.PowerShell.csproj --nologo --configuration debug --no-incremental --verbosity diagnostic --disable-build-servers --force
working-directory: src/Commands
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
6 changes: 3 additions & 3 deletions .github/workflows/majorrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:

steps:
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.x
9.x
10.x
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: dev
token: ${{ secrets.PAT }}
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
$version = Get-Content version.txt -raw
"BUILDVERSION=$version" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append
- name: Add & Commit
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@v10
with:
message: 'Major release to PowerShell Gallery'
tag: '${{env.BUILDVERSION}} --force'
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/nightlydockerimages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
VERSION: ${{ steps.v.outputs.VERSION }}
VERSION_NIGHTLY: ${{ steps.v.outputs.VERSION_NIGHTLY }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- id: v
run: |
V="$(cat ./version.txt)"
Expand All @@ -29,10 +29,10 @@ jobs:
runs-on: windows-2025
needs: compute-version
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Log in to Docker Hub
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down Expand Up @@ -62,9 +62,9 @@ jobs:
runs-on: ubuntu-24.04-arm
needs: compute-version
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
- uses: actions/checkout@v6
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -81,9 +81,9 @@ jobs:
runs-on: ubuntu-latest
needs: compute-version
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
- uses: actions/checkout@v6
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -100,20 +100,20 @@ jobs:
runs-on: ubuntu-latest
needs: compute-version
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Docker Buildx
# Buildx v3 is fine; QEMU is preinstalled on GH-hosted Ubuntu runners
uses: docker/setup-buildx-action@v3
# Buildx v4 is fine; QEMU is preinstalled on GH-hosted Ubuntu runners
uses: docker/setup-buildx-action@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build & push (Linux arm32/v7 - RPi2/Raspbian)
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./docker
file: ./docker/linux-arm32.dockerfile
Expand All @@ -133,8 +133,8 @@ jobs:
- publish-docker-linux-arm32v7
- publish-docker-windows-amd64
steps:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightlyrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:

steps:
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.x
9.x
10.x
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: dev
token: ${{ secrets.PAT }}
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
$version = Get-Content version.txt -raw
"BUILDVERSION=$version" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append
- name: Add & Commit
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@v10
with:
message: 'Nightly publish to PowerShell Gallery'
tag: '${{env.BUILDVERSION}}-nightly --force'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.branch }}
path: ${{ github.sha }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
uses: ossf/scorecard-action@v2.4.3
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -44,7 +44,7 @@ jobs:
# uploads of run results in SARIF format to the repository Actions tab.
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
- name: "Upload artifact"
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@v7
with:
name: SARIF file
path: results.sarif
Expand All @@ -53,6 +53,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@8f596b4ae3cb3c588a5c46780b86dd53fef16c52 # v3.25.2
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: results.sarif
10 changes: 5 additions & 5 deletions .github/workflows/stabledockerimages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: windows-2025
steps:
- name: Checkout main branch
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: main
- name: Build an image
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-22.04
if: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build an image
run: |
VERSION="$(cat ./version.txt)"
Expand All @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout main branch
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: main
- name: Build an image
Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout main branch
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: main
- name: Build an image
Expand All @@ -77,7 +77,7 @@ jobs:
needs: [ publish-docker-linux-arm64, publish-docker-linux-amd64, publish-docker-windows-amd64 ]
steps:
- name: Checkout main branch
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: main
- name: Publish manifest
Expand Down
16 changes: 8 additions & 8 deletions src/Commands/PnP.PowerShell.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@

<ItemGroup>
<PackageReference Include="Microsoft.SharePointOnline.CSOM" Version="16.1.*" />
<PackageReference Include="PnP.Framework" Version="1.18.*-*" Condition="'$(PnPFrameworkPath)' == '' and '$(IsRelease)' != '1'" />
<PackageReference Include="PnP.Framework" Version="1.18.*-*" Condition="'$(IsRelease)' == '1'" />
<PackageReference Include="PnP.Framework" Version="1.19.*-*" Condition="'$(PnPFrameworkPath)' == '' and '$(IsRelease)' != '1'" />
<PackageReference Include="PnP.Framework" Version="1.19.*-*" Condition="'$(IsRelease)' == '1'" />

<PackageReference Include="PnP.Core" Version="1.15.*-*" Condition="'$(PnPCoreSdkPath)' == '' and '$(IsRelease)' != '1'" />
<PackageReference Include="PnP.Core" Version="1.15.*-*" Condition="'$(IsRelease)' == '1'" />
<PackageReference Include="PnP.Core" Version="1.16.*-*" Condition="'$(PnPCoreSdkPath)' == '' and '$(IsRelease)' != '1'" />
<PackageReference Include="PnP.Core" Version="1.16.*-*" Condition="'$(IsRelease)' == '1'" />

<PackageReference Include="PnP.Core.Auth" Version="1.15.*-*" Condition="'$(PnPCoreSdkPath)' == '' and '$(IsRelease)' != '1'" />
<PackageReference Include="PnP.Core.Auth" Version="1.15.*-*" Condition="'$(IsRelease)' == '1'" />
<PackageReference Include="PnP.Core.Auth" Version="1.16.*-*" Condition="'$(PnPCoreSdkPath)' == '' and '$(IsRelease)' != '1'" />
<PackageReference Include="PnP.Core.Auth" Version="1.16.*-*" Condition="'$(IsRelease)' == '1'" />

<PackageReference Include="PnP.Core.Admin" Version="1.15.*-*" Condition="'$(PnPCoreSdkPath)' == '' and '$(IsRelease)' != '1'" />
<PackageReference Include="PnP.Core.Admin" Version="1.15.*-*" Condition="'$(IsRelease)' == '1'" />
<PackageReference Include="PnP.Core.Admin" Version="1.16.*-*" Condition="'$(PnPCoreSdkPath)' == '' and '$(IsRelease)' != '1'" />
<PackageReference Include="PnP.Core.Admin" Version="1.16.*-*" Condition="'$(IsRelease)' == '1'" />

<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="4.73.0" />
<PackageReference Include="Microsoft.Bcl.Cryptography" Version="9.0.5" />
Expand Down
Loading