mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 23:39:38 +00:00
Fix PowerShell issue with relative paths
This commit is contained in:
@ -8,6 +8,16 @@ jobs:
|
|||||||
- checkout: self
|
- checkout: self
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
# We need this temporary step to have a consistent version of PowerShell on all images.
|
||||||
|
- task: PowerShell@2
|
||||||
|
displayName: 'Update PowerShell version for macOS'
|
||||||
|
condition: eq(variables['Platform'], 'darwin')
|
||||||
|
inputs:
|
||||||
|
TargetType: inline
|
||||||
|
script: |
|
||||||
|
brew update
|
||||||
|
brew cask upgrade powershell
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Build Python $(VERSION)'
|
displayName: 'Build Python $(VERSION)'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using module "./builders/win-python-builder.psm1"
|
using module "./win-python-builder.psm1"
|
||||||
using module "./builders/ubuntu-python-builder.psm1"
|
using module "./ubuntu-python-builder.psm1"
|
||||||
using module "./builders/macos-python-builder.psm1"
|
using module "./macos-python-builder.psm1"
|
||||||
|
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using module "./builders/nix-python-builder.psm1"
|
using module "./nix-python-builder.psm1"
|
||||||
|
|
||||||
class macOSPythonBuilder : NixPythonBuilder {
|
class macOSPythonBuilder : NixPythonBuilder {
|
||||||
<#
|
<#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using module "./builders/python-builder.psm1"
|
using module "./python-builder.psm1"
|
||||||
|
|
||||||
class NixPythonBuilder : PythonBuilder {
|
class NixPythonBuilder : PythonBuilder {
|
||||||
<#
|
<#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using module "./builders/nix-python-builder.psm1"
|
using module "./nix-python-builder.psm1"
|
||||||
|
|
||||||
class UbuntuPythonBuilder : NixPythonBuilder {
|
class UbuntuPythonBuilder : NixPythonBuilder {
|
||||||
<#
|
<#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using module "./builders/python-builder.psm1"
|
using module "./python-builder.psm1"
|
||||||
|
|
||||||
class WinPythonBuilder : PythonBuilder {
|
class WinPythonBuilder : PythonBuilder {
|
||||||
<#
|
<#
|
||||||
|
Reference in New Issue
Block a user