From 41ef87711158ec2ff18e34ae96cc652959876aa1 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 27 Jun 2022 13:49:26 +0200 Subject: [PATCH] fix typo --- .drone.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1319f68..74a98d1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,24 +34,25 @@ steps: --- kind: pipeline type: docker +name: WINDOWS_PWSH7_Build -plattform: - os: windows +platform: + os: linux arch: amd64 steps: - - name: Environments - image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809 + - name: Environments + image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022 commands: - pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-ShowEnv -Verbose}" - pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-InstallDependencies -Verbose}" - name: LintTests - image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809 + image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022 commands: - pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}" - pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-Linter}" - name: UnitTests - image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809 + image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022 commands: - pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}" - pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}"