Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c62040958 | ||
|
|
62573f4b60 | ||
|
|
67290a9d23 | ||
|
|
0072421cf6 | ||
|
|
9ead3175a9 | ||
|
|
349aa191ae | ||
|
|
e2cf7c663b | ||
|
|
75763629d4 | ||
|
|
074373ff88 | ||
|
|
4d6fc87ace | ||
|
|
9b203d2b06 | ||
|
|
bbbb8c9ab6 | ||
|
|
4713b0c4d9 | ||
|
|
9eae3fe338 | ||
|
|
c97148f473 | ||
|
|
e92112b014 | ||
|
|
5e931af6be |
No files matched your search
@@ -14,6 +14,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
call-basic-validation:
|
call-basic-validation:
|
||||||
name: Basic validation
|
name: Basic validation
|
||||||
|
cache-mode: read
|
||||||
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
|
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
|
||||||
with:
|
with:
|
||||||
node-version: '24'
|
node-version: '24'
|
||||||
@@ -14,6 +14,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
call-check-dist:
|
call-check-dist:
|
||||||
name: Check dist/
|
name: Check dist/
|
||||||
|
cache-mode: read
|
||||||
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
|
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
|
||||||
with:
|
with:
|
||||||
node-version: '24'
|
node-version: '24'
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -123,7 +123,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -149,7 +149,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -180,7 +180,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -208,7 +208,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -239,7 +239,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -265,7 +265,7 @@ jobs:
|
|||||||
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -290,7 +290,7 @@ jobs:
|
|||||||
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -315,7 +315,7 @@ jobs:
|
|||||||
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -347,7 +347,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -379,7 +379,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -410,7 +410,7 @@ jobs:
|
|||||||
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
|
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -448,7 +448,7 @@ jobs:
|
|||||||
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
|
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -482,7 +482,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -515,7 +515,7 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -555,7 +555,7 @@ jobs:
|
|||||||
http_proxy: http://squid-proxy:3128
|
http_proxy: http://squid-proxy:3128
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -578,7 +578,7 @@ jobs:
|
|||||||
no_proxy: github.com,download.visualstudio.microsoft.com,api.nuget.org,builds.dotnet.microsoft.com,ci.dot.net
|
no_proxy: github.com,download.visualstudio.microsoft.com,api.nuget.org,builds.dotnet.microsoft.com,ci.dot.net
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -610,7 +610,7 @@ jobs:
|
|||||||
higher-version: ['10.0.101']
|
higher-version: ['10.0.101']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -639,7 +639,7 @@ jobs:
|
|||||||
[ubuntu-latest, windows-latest, macos-15-intel, macos-latest]
|
[ubuntu-latest, windows-latest, macos-15-intel, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -678,7 +678,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@@ -706,7 +706,7 @@ jobs:
|
|||||||
operating-system: [ubuntu-latest]
|
operating-system: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -726,7 +726,7 @@ jobs:
|
|||||||
operating-system: [macos-latest]
|
operating-system: [macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
@@ -738,3 +738,55 @@ jobs:
|
|||||||
- name: Verify dotnet
|
- name: Verify dotnet
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/verify-dotnet.ps1 -Patterns "^9\.0\.1\d{2}"
|
run: __tests__/verify-dotnet.ps1 -Patterns "^9\.0\.1\d{2}"
|
||||||
|
|
||||||
|
test-check-latest-false:
|
||||||
|
runs-on: ${{ matrix.operating-system }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
- name: Clear toolcache
|
||||||
|
shell: pwsh
|
||||||
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
|
# Oldest 9.0.1xx SDK: resolving '9.0.1xx' online would return a newer patch.
|
||||||
|
- name: Setup dotnet 9.0.100
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
dotnet-version: '9.0.100'
|
||||||
|
- name: Setup dotnet 9.0.1xx with check-latest false
|
||||||
|
id: reuse
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
dotnet-version: '9.0.1xx'
|
||||||
|
check-latest: false
|
||||||
|
- name: Verify dotnet
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
if ('${{ steps.reuse.outputs.dotnet-version }}' -ne '9.0.100') {
|
||||||
|
throw "Expected 9.0.100 to be reused, got '${{ steps.reuse.outputs.dotnet-version }}'."
|
||||||
|
}
|
||||||
|
__tests__/verify-dotnet.ps1 -Patterns "^9\.0\.100$"
|
||||||
|
|
||||||
|
test-skip-lts-prepass:
|
||||||
|
runs-on: ${{ matrix.operating-system }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
operating-system: [ubuntu-latest, windows-latest]
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
- name: Clear toolcache
|
||||||
|
shell: pwsh
|
||||||
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
|
- name: Setup dotnet 9.0.308 with skip-lts-prepass
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
dotnet-version: 9.0.308
|
||||||
|
skip-lts-prepass: true
|
||||||
|
- name: Verify dotnet
|
||||||
|
shell: pwsh
|
||||||
|
run: __tests__/verify-dotnet.ps1 -Patterns "^9\.0\.308$"
|
||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checking out
|
- name: Checking out
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Publish
|
- name: Publish
|
||||||
id: publish
|
id: publish
|
||||||
uses: actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978 # v0.0.4
|
uses: actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978 # v0.0.4
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
dotnet-version: ['8.0', '9.0', '10.0']
|
dotnet-version: ['8.0', '9.0', '10.0']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ allowed:
|
|||||||
- mit
|
- mit
|
||||||
- cc0-1.0
|
- cc0-1.0
|
||||||
- unlicense
|
- unlicense
|
||||||
- blueoak-1.0.0
|
- BlueOak-1.0.0
|
||||||
|
|
||||||
reviewed:
|
reviewed:
|
||||||
npm:
|
npm:
|
||||||
|
|||||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@actions/cache"
|
name: "@actions/cache"
|
||||||
version: 6.2.0
|
version: 6.3.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Actions cache lib
|
summary: Actions cache lib
|
||||||
homepage: https://github.com/actions/toolkit/tree/main/packages/cache
|
homepage: https://github.com/actions/toolkit/tree/main/packages/cache
|
||||||
|
|||||||
-20
@@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
name: "@actions/glob"
|
|
||||||
version: 0.6.1
|
|
||||||
type: npm
|
|
||||||
summary: Actions glob lib
|
|
||||||
homepage: https://github.com/actions/toolkit/tree/main/packages/glob
|
|
||||||
license: mit
|
|
||||||
licenses:
|
|
||||||
- sources: LICENSE.md
|
|
||||||
text: |-
|
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright 2019 GitHub
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
notices: []
|
|
||||||
File renamed without changes.
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/abort-controller"
|
name: "@azure/abort-controller"
|
||||||
version: 2.1.2
|
version: 2.2.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Microsoft Azure SDK for JavaScript - Aborter
|
summary: Microsoft Azure SDK for JavaScript - Aborter
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/abort-controller/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/abort-controller/README.md
|
||||||
@@ -8,9 +8,9 @@ license: mit
|
|||||||
licenses:
|
licenses:
|
||||||
- sources: LICENSE
|
- sources: LICENSE
|
||||||
text: |
|
text: |
|
||||||
The MIT License (MIT)
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
Copyright (c) 2020 Microsoft
|
MIT License
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -22,7 +22,7 @@ licenses:
|
|||||||
The above copyright notice and this permission notice shall be included in all
|
The above copyright notice and this permission notice shall be included in all
|
||||||
copies or substantial portions of the Software.
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/core-auth"
|
name: "@azure/core-auth"
|
||||||
version: 1.10.1
|
version: 1.11.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Provides low-level interfaces and helper methods for authentication in Azure
|
summary: Provides low-level interfaces and helper methods for authentication in Azure
|
||||||
SDK
|
SDK
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-auth/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-auth/README.md
|
||||||
license: mit
|
license: mit
|
||||||
licenses:
|
licenses:
|
||||||
- sources: LICENSE
|
- sources: LICENSE
|
||||||
|
|||||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/core-client"
|
name: "@azure/core-client"
|
||||||
version: 1.10.2
|
version: 1.11.1
|
||||||
type: npm
|
type: npm
|
||||||
summary: Core library for interfacing with AutoRest generated code
|
summary: Core library for interfacing with AutoRest generated code
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client/
|
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client/
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/core-http-compat"
|
name: "@azure/core-http-compat"
|
||||||
version: 2.4.0
|
version: 2.5.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.
|
summary: Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-compat/
|
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-http-compat/
|
||||||
license: mit
|
license: mit
|
||||||
licenses:
|
licenses:
|
||||||
- sources: LICENSE
|
- sources: LICENSE
|
||||||
|
|||||||
Generated
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/core-paging"
|
name: "@azure/core-paging"
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Core types for paging async iterable iterators
|
summary: Core types for paging async iterable iterators
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-paging/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-paging/README.md
|
||||||
@@ -8,9 +8,9 @@ license: mit
|
|||||||
licenses:
|
licenses:
|
||||||
- sources: LICENSE
|
- sources: LICENSE
|
||||||
text: |
|
text: |
|
||||||
The MIT License (MIT)
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
Copyright (c) 2020 Microsoft
|
MIT License
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -22,7 +22,7 @@ licenses:
|
|||||||
The above copyright notice and this permission notice shall be included in all
|
The above copyright notice and this permission notice shall be included in all
|
||||||
copies or substantial portions of the Software.
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
name: "@azure/core-rest-pipeline"
|
||||||
|
version: 1.23.0
|
||||||
|
type: npm
|
||||||
|
summary: Isomorphic client library for making HTTP requests in node.js and browser.
|
||||||
|
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/
|
||||||
|
license: mit
|
||||||
|
licenses:
|
||||||
|
- sources: LICENSE
|
||||||
|
text: |
|
||||||
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
notices: []
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/core-rest-pipeline"
|
name: "@azure/core-rest-pipeline"
|
||||||
version: 1.24.0
|
version: 1.25.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Isomorphic client library for making HTTP requests in node.js and browser.
|
summary: Isomorphic client library for making HTTP requests in node.js and browser.
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline/README.md
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/core-tracing"
|
name: "@azure/core-tracing"
|
||||||
version: 1.3.1
|
version: 1.4.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Provides low-level interfaces and helper methods for tracing in Azure SDK
|
summary: Provides low-level interfaces and helper methods for tracing in Azure SDK
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/README.md
|
||||||
|
|||||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/core-util"
|
name: "@azure/core-util"
|
||||||
version: 1.13.1
|
version: 1.14.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Core library for shared utility methods
|
summary: Core library for shared utility methods
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/
|
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/core-xml"
|
name: "@azure/core-xml"
|
||||||
version: 1.5.1
|
version: 1.6.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Core library for interacting with XML payloads
|
summary: Core library for interacting with XML payloads
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-xml/
|
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-xml/README.md
|
||||||
license: mit
|
license: mit
|
||||||
licenses:
|
licenses:
|
||||||
- sources: LICENSE
|
- sources: LICENSE
|
||||||
|
|||||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/logger"
|
name: "@azure/logger"
|
||||||
version: 1.3.0
|
version: 1.4.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Microsoft Azure SDK for JavaScript - Logger
|
summary: Microsoft Azure SDK for JavaScript - Logger
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger/README.md
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/storage-blob"
|
name: "@azure/storage-blob"
|
||||||
version: 12.32.0
|
version: 12.31.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Microsoft Azure Storage SDK for JavaScript - Blob
|
summary: Microsoft Azure Storage SDK for JavaScript - Blob
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/
|
||||||
license: mit
|
license: mit
|
||||||
licenses:
|
licenses:
|
||||||
- sources: LICENSE
|
- sources: LICENSE
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@azure/storage-common"
|
name: "@azure/storage-common"
|
||||||
version: 12.4.1
|
version: 12.5.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Azure Storage Common Client Library for JavaScript
|
summary: Azure Storage Common Client Library for JavaScript
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-common/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-common/README.md
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
name: "@nodable/entities"
|
name: "@nodable/entities"
|
||||||
version: 2.2.0
|
version: 3.0.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Entity parser for XML, HTML, External entites with security and NCR control
|
summary: Entity parser for XML, HTML, External entites with security and NCR control
|
||||||
homepage:
|
homepage:
|
||||||
license: mit
|
license: mit
|
||||||
licenses:
|
licenses:
|
||||||
- sources: README.md
|
- sources: README.md
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "@typespec/ts-http-runtime"
|
name: "@typespec/ts-http-runtime"
|
||||||
version: 0.3.6
|
version: 0.3.9
|
||||||
type: npm
|
type: npm
|
||||||
summary: Isomorphic client library for making HTTP requests in node.js and browser.
|
summary: Isomorphic client library for making HTTP requests in node.js and browser.
|
||||||
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/ts-http-runtime/README.md
|
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/ts-http-runtime/README.md
|
||||||
|
|||||||
-55
@@ -1,55 +0,0 @@
|
|||||||
---
|
|
||||||
name: balanced-match
|
|
||||||
version: 1.0.2
|
|
||||||
type: npm
|
|
||||||
summary: Match balanced character pairs, like "{" and "}"
|
|
||||||
homepage: https://github.com/juliangruber/balanced-match
|
|
||||||
license: mit
|
|
||||||
licenses:
|
|
||||||
- sources: LICENSE.md
|
|
||||||
text: |
|
|
||||||
(MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
|
||||||
the Software without restriction, including without limitation the rights to
|
|
||||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
||||||
of the Software, and to permit persons to whom the Software is furnished to do
|
|
||||||
so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
- sources: README.md
|
|
||||||
text: |-
|
|
||||||
(MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
|
||||||
the Software without restriction, including without limitation the rights to
|
|
||||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
||||||
of the Software, and to permit persons to whom the Software is furnished to do
|
|
||||||
so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
notices: []
|
|
||||||
File renamed without changes.
-55
@@ -1,55 +0,0 @@
|
|||||||
---
|
|
||||||
name: brace-expansion
|
|
||||||
version: 1.1.15
|
|
||||||
type: npm
|
|
||||||
summary: Brace expansion as known from sh/bash
|
|
||||||
homepage: https://github.com/juliangruber/brace-expansion
|
|
||||||
license: mit
|
|
||||||
licenses:
|
|
||||||
- sources: LICENSE
|
|
||||||
text: |
|
|
||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
- sources: README.md
|
|
||||||
text: |-
|
|
||||||
(MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
|
||||||
the Software without restriction, including without limitation the rights to
|
|
||||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
||||||
of the Software, and to permit persons to whom the Software is furnished to do
|
|
||||||
so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
notices: []
|
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: brace-expansion
|
name: brace-expansion
|
||||||
version: 5.0.6
|
version: 5.0.12
|
||||||
type: npm
|
type: npm
|
||||||
summary: Brace expansion as known from sh/bash
|
summary: Brace expansion as known from sh/bash
|
||||||
homepage:
|
homepage:
|
||||||
Generated
-31
@@ -1,31 +0,0 @@
|
|||||||
---
|
|
||||||
name: concat-map
|
|
||||||
version: 0.0.1
|
|
||||||
type: npm
|
|
||||||
summary: concatenative mapdashery
|
|
||||||
homepage:
|
|
||||||
license: other
|
|
||||||
licenses:
|
|
||||||
- sources: LICENSE
|
|
||||||
text: |
|
|
||||||
This software is released under the MIT license:
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
|
||||||
the Software without restriction, including without limitation the rights to
|
|
||||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
- sources: README.markdown
|
|
||||||
text: MIT
|
|
||||||
notices: []
|
|
||||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: fast-xml-parser
|
name: fast-xml-parser
|
||||||
version: 5.9.3
|
version: 5.10.1
|
||||||
type: npm
|
type: npm
|
||||||
summary: Validate XML, Parse XML, Build XML without C/C++ based libraries
|
summary: Validate XML, Parse XML, Build XML without C/C++ based libraries
|
||||||
homepage:
|
homepage:
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: is-unsafe
|
name: is-unsafe
|
||||||
version: 1.0.1
|
version: 2.0.0
|
||||||
type: npm
|
type: npm
|
||||||
summary: Zero-dependency, DOM-free, pure predicate for detecting unsafe strings across
|
summary: Zero-dependency, DOM-free, pure predicate for detecting unsafe strings across
|
||||||
HTML, XML, SVG, SQL, SHELL, and REGEX contexts
|
HTML, XML, SVG, SQL, SHELL, and REGEX contexts
|
||||||
homepage:
|
homepage:
|
||||||
license: mit
|
license: mit
|
||||||
licenses:
|
licenses:
|
||||||
- sources: LICENSE
|
- sources: LICENSE
|
||||||
|
|||||||
Generated
-26
@@ -1,26 +0,0 @@
|
|||||||
---
|
|
||||||
name: minimatch
|
|
||||||
version: 3.1.5
|
|
||||||
type: npm
|
|
||||||
summary: a glob matcher in javascript
|
|
||||||
homepage:
|
|
||||||
license: isc
|
|
||||||
licenses:
|
|
||||||
- sources: LICENSE
|
|
||||||
text: |
|
|
||||||
The ISC License
|
|
||||||
|
|
||||||
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any
|
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
|
||||||
copyright notice and this permission notice appear in all copies.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
||||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
||||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
||||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
||||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
||||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
||||||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
notices: []
|
|
||||||
@@ -4,7 +4,7 @@ version: 10.2.5
|
|||||||
type: npm
|
type: npm
|
||||||
summary: a glob matcher in javascript
|
summary: a glob matcher in javascript
|
||||||
homepage:
|
homepage:
|
||||||
license: blueoak-1.0.0
|
license: BlueOak-1.0.0
|
||||||
licenses:
|
licenses:
|
||||||
- sources: LICENSE.md
|
- sources: LICENSE.md
|
||||||
text: |
|
text: |
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: path-expression-matcher
|
name: path-expression-matcher
|
||||||
version: 1.5.0
|
version: 1.6.2
|
||||||
type: npm
|
type: npm
|
||||||
summary: Efficient path tracking and pattern matching for XML/JSON parsers
|
summary: Efficient path tracking and pattern matching for XML/JSON parsers
|
||||||
homepage: https://github.com/NaturalIntelligence/path-expression-matcher#readme
|
homepage: https://github.com/NaturalIntelligence/path-expression-matcher#readme
|
||||||
|
|||||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: undici
|
name: undici
|
||||||
version: 6.27.0
|
version: 6.29.1
|
||||||
type: npm
|
type: npm
|
||||||
summary: An HTTP/1.1 client, written from scratch for Node.js
|
summary: An HTTP/1.1 client, written from scratch for Node.js
|
||||||
homepage: https://undici.nodejs.org
|
homepage: https://undici.nodejs.org
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version: 0.1.0
|
|||||||
type: npm
|
type: npm
|
||||||
summary: Validates XML name productions — Name, NCName, QName, NMToken, NMTokens —
|
summary: Validates XML name productions — Name, NCName, QName, NMToken, NMTokens —
|
||||||
for XML 1.0 and 1.1
|
for XML 1.0 and 1.1
|
||||||
homepage:
|
homepage:
|
||||||
license: mit
|
license: mit
|
||||||
licenses:
|
licenses:
|
||||||
- sources: README.md
|
- sources: README.md
|
||||||
Generated
+35
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
name: xml-naming
|
||||||
|
version: 0.3.0
|
||||||
|
type: npm
|
||||||
|
summary: Validates XML name productions — Name, NCName, QName, NMToken, NMTokens —
|
||||||
|
for XML 1.0 and 1.1
|
||||||
|
homepage:
|
||||||
|
license: mit
|
||||||
|
licenses:
|
||||||
|
- sources: LICENSE
|
||||||
|
text: |
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 Natural Intelligence
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
- sources: README.md
|
||||||
|
text: MIT
|
||||||
|
notices: []
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
This action sets up a [.NET CLI](https://github.com/dotnet/sdk) environment for use in actions by:
|
This action sets up a [.NET CLI](https://github.com/dotnet/sdk) environment for use in actions by:
|
||||||
|
|
||||||
- optionally downloading and caching a version(s) of dotnet by SDK version(s) and adding to PATH
|
- optionally download and install the requested .NET SDK version(s) and add them to the PATH
|
||||||
- registering problem matchers for error output
|
- registering problem matchers for error output
|
||||||
- setting up authentication to private package sources like GitHub Packages
|
- setting up authentication to private package sources like GitHub Packages
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ for .NET SDK versions that are currently available.
|
|||||||
- Upgraded action from node20 to node24
|
- Upgraded action from node20 to node24
|
||||||
> Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. see [Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1)
|
> Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. see [Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1)
|
||||||
|
|
||||||
For more details, see the full release notes on the [release page](https://github.com/actions/setup-dotnet/releases/tag/v5.0.0)
|
For more details, see the full release notes on the [release page](https://github.com/actions/setup-dotnet/releases)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@@ -86,6 +86,21 @@ steps:
|
|||||||
dotnet-channel: LTS
|
dotnet-channel: LTS
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Using the `skip-lts-prepass` input
|
||||||
|
|
||||||
|
By default, `setup-dotnet` installs a minimal LTS runtime before installing the requested `dotnet-version`, to guarantee a stable `dotnet` executable is available. If your workflow doesn't need this safeguard (for example, the runner image already has a `dotnet` executable, or you're on a clean self-hosted/container environment and want to avoid the extra download), set `skip-lts-prepass: true` to install only the requested version.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v7
|
||||||
|
- uses: actions/setup-dotnet@v6
|
||||||
|
with:
|
||||||
|
dotnet-version: '9.0.x'
|
||||||
|
skip-lts-prepass: true
|
||||||
|
```
|
||||||
|
|
||||||
|
> **Note**: Setting skip-lts-prepass: true skips the LTS runtime pre-pass, so the action won't proactively install the latest LTS runtime. The existing dotnet executable and host components will be used if present; on a clean machine, they will come from the requested SDK installation. Consequently, dotnet --info may report a different Host: Version than when the pre-pass runs.
|
||||||
|
|
||||||
## Using the `architecture` input
|
## Using the `architecture` input
|
||||||
Using the architecture input, it is possible to specify the required .NET SDK architecture. Possible values: `x64`, `x86`, `arm64`, `amd64`, `arm`, `s390x`, `ppc64le`, `riscv64`. If the input is not specified, the architecture defaults to the host OS architecture (not all of the architectures are available on all platforms).
|
Using the architecture input, it is possible to specify the required .NET SDK architecture. Possible values: `x64`, `x86`, `arm64`, `amd64`, `arm`, `s390x`, `ppc64le`, `riscv64`. If the input is not specified, the architecture defaults to the host OS architecture (not all of the architectures are available on all platforms).
|
||||||
|
|
||||||
@@ -105,7 +120,21 @@ steps:
|
|||||||
|
|
||||||
## Using the `dotnet-quality` input
|
## Using the `dotnet-quality` input
|
||||||
|
|
||||||
The `dotnet-quality` input installs the latest build of the specified quality in the channel. Supported values: `daily`, `preview`, `ga`.
|
The `dotnet-quality` input installs the latest build of the specified quality in the channel. Supported values: `daily`, `preview`, `ga`. For more details about quality options, see the [official .NET documentation](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#options).
|
||||||
|
|
||||||
|
> **Important**: `dotnet-quality` is a single input shared across all versions listed in `dotnet-version` for the same step (and is only applied where supported by the version format), so per-version quality is not supported. For example, setting `dotnet-quality: preview` for `10.0.x` and `11.0.x` resolves both versions as previews. To install a released SDK alongside a preview SDK, use separate steps:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
steps:
|
||||||
|
- uses: actions/setup-dotnet@v6
|
||||||
|
with:
|
||||||
|
dotnet-version: '10.0.x'
|
||||||
|
|
||||||
|
- uses: actions/setup-dotnet@v6
|
||||||
|
with:
|
||||||
|
dotnet-version: '11.0.x'
|
||||||
|
dotnet-quality: 'preview'
|
||||||
|
```
|
||||||
|
|
||||||
> **Note**: When used with a specific SDK version, `dotnet-quality` supports only `A.B`, `A.B.x`, `A`, `A.x`, and `A.B.Cxx` formats where the major version is higher than 5. For all other formats, `dotnet-quality` will be ignored.
|
> **Note**: When used with a specific SDK version, `dotnet-quality` supports only `A.B`, `A.B.x`, `A`, `A.x`, and `A.B.Cxx` formats where the major version is higher than 5. For all other formats, `dotnet-quality` will be ignored.
|
||||||
|
|
||||||
@@ -148,6 +177,8 @@ steps:
|
|||||||
|
|
||||||
> **Note**: The action supports `latest*` variants of the [rollForward](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json#rollforward) field in `global.json`. When set to `latestPatch`, `latestFeature`, `latestMinor`, or `latestMajor`, the action installs the appropriate SDK version. For prerelease versions, the exact pinned version is always installed regardless of the `rollForward` setting.
|
> **Note**: The action supports `latest*` variants of the [rollForward](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json#rollforward) field in `global.json`. When set to `latestPatch`, `latestFeature`, `latestMinor`, or `latestMajor`, the action installs the appropriate SDK version. For prerelease versions, the exact pinned version is always installed regardless of the `rollForward` setting.
|
||||||
|
|
||||||
|
> **Important**: When using `rollForward` in `global.json`, the `sdk.version` field must be a fully-qualified SDK version (e.g., `8.0.100`, `10.0.100`). Wildcard versions (e.g., `10.0.*`) and runtime-style versions (e.g., `8.0.0`) are not supported. See the [.NET SDK version specification](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json#version) for details.
|
||||||
|
|
||||||
## Caching NuGet Packages
|
## Caching NuGet Packages
|
||||||
The action has a built-in functionality for caching and restoring dependencies. It uses [toolkit/cache](https://github.com/actions/toolkit/tree/main/packages/cache) under the hood for caching global packages data but requires less configuration settings. The `cache` input is optional, and caching is turned off by default.
|
The action has a built-in functionality for caching and restoring dependencies. It uses [toolkit/cache](https://github.com/actions/toolkit/tree/main/packages/cache) under the hood for caching global packages data but requires less configuration settings. The `cache` input is optional, and caching is turned off by default.
|
||||||
|
|
||||||
@@ -296,7 +327,7 @@ The `workloads` input allows you to install .NET workloads as part of the SDK se
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
- name: Setup .NET with workloads
|
- name: Setup .NET with workloads
|
||||||
uses: actions/setup-dotnet@v6
|
uses: actions/setup-dotnet@v6
|
||||||
with:
|
with:
|
||||||
@@ -307,6 +338,29 @@ steps:
|
|||||||
|
|
||||||
> **Note**: Ensure workloads are compatible with your runner's OS, architecture, and .NET SDK version before enabling workload installation. Some workloads may require additional installation time due to large toolchain downloads.
|
> **Note**: Ensure workloads are compatible with your runner's OS, architecture, and .NET SDK version before enabling workload installation. Some workloads may require additional installation time due to large toolchain downloads.
|
||||||
|
|
||||||
|
## Using the `check-latest` input
|
||||||
|
|
||||||
|
By default (`check-latest: true`) the action resolves and installs the latest version matching the request online, which is the historical behavior. With `check-latest: false` it first looks for an SDK already installed under [`DOTNET_INSTALL_DIR`](#environment-variables) and reuses it, skipping SDK resolution and download — useful for air-gapped or preloaded runners (the `cache` and `workloads` inputs still use the network). If none matches, it installs online as usual.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v7
|
||||||
|
- name: Reuse a preinstalled SDK when available
|
||||||
|
uses: actions/setup-dotnet@v6
|
||||||
|
with:
|
||||||
|
dotnet-version: '8.0.x'
|
||||||
|
check-latest: false
|
||||||
|
- run: dotnet build <my project>
|
||||||
|
```
|
||||||
|
|
||||||
|
An installed SDK is reused only when it matches the requested spec (`A.B.C`, `A.B`, `A.B.x`, `A.B.Cxx`, `A`, `A.x` or `latest`; `x`, `X` and `*` interchange except in a feature band, which is lowercase `Cxx`), satisfies `dotnet-quality`, is not older than the `sdk.version` declared in `global.json`, and sits next to a runnable `dotnet` executable. As online, `dotnet-quality` is ignored for a full `A.B.C` request, so such a request always resolves to a GA SDK. Cross-architecture requests, `latest` with an `LTS` or `STS` channel, and a bare wildcard always install online.
|
||||||
|
|
||||||
|
When the request comes from `global.json`, the SDK is picked the way the .NET resolver picks one: `latestPatch`, `latestFeature`, `latestMinor` and `latestMajor` take the **highest** SDK the policy allows, while `feature`, `minor` and `major` roll forward to the **nearest** higher feature band, minor or major and then take its latest patch. `patch` — the default when `rollForward` is omitted — prefers the declared version, otherwise the latest patch in its band. `disable` and a prerelease `sdk.version` require an exact match, and `allowPrerelease` is not used: `dotnet-quality` is the only prerelease control.
|
||||||
|
|
||||||
|
### Setting `check-latest` from the environment
|
||||||
|
|
||||||
|
When the input is not set, the action reads the `DOTNET_CHECK_LATEST` environment variable (`true` or `false`, case-insensitive; an unsupported value warns and is ignored), which covers workflows you cannot edit. Setting it on a self-hosted runner alongside SDKs preinstalled under [`DOTNET_INSTALL_DIR`](#environment-variables) lets those workflows run without reaching `aka.ms`, `builds.dotnet.microsoft.com` or `ci.dot.net`. It applies to every job on that runner, so a dedicated runner is recommended; any workflow can still override it with an explicit `check-latest` input.
|
||||||
|
|
||||||
# Outputs and environment variables
|
# Outputs and environment variables
|
||||||
|
|
||||||
## Outputs
|
## Outputs
|
||||||
@@ -365,6 +419,7 @@ Some environment variables may be necessary for your particular case or to impro
|
|||||||
| **Env.variable** | **Description** | **Default value** |
|
| **Env.variable** | **Description** | **Default value** |
|
||||||
| ----------- | ----------- | ----------- |
|
| ----------- | ----------- | ----------- |
|
||||||
| DOTNET_INSTALL_DIR |Specifies a directory where .NET SDKs should be installed by the action.|*default value for each OS* |
|
| DOTNET_INSTALL_DIR |Specifies a directory where .NET SDKs should be installed by the action.|*default value for each OS* |
|
||||||
|
| DOTNET_CHECK_LATEST |Fallback for the [`check-latest`](#setting-check-latest-from-the-environment) input, for workflows that cannot set it. Ignored when the input is set.|*true*|
|
||||||
| DOTNET_NOLOGO |Removes logo and telemetry message from first run of dotnet cli|*false*|
|
| DOTNET_NOLOGO |Removes logo and telemetry message from first run of dotnet cli|*false*|
|
||||||
| DOTNET_CLI_TELEMETRY_OPTOUT |Opt-out of telemetry being sent to Microsoft|*false*|
|
| DOTNET_CLI_TELEMETRY_OPTOUT |Opt-out of telemetry being sent to Microsoft|*false*|
|
||||||
| DOTNET_MULTILEVEL_LOOKUP |Configures whether the global install location is used as a fall-back|*true*|
|
| DOTNET_MULTILEVEL_LOOKUP |Configures whether the global install location is used as a fall-back|*true*|
|
||||||
|
|||||||
+836
-1
@@ -1,5 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
afterAll,
|
afterAll,
|
||||||
|
afterEach,
|
||||||
beforeAll,
|
beforeAll,
|
||||||
beforeEach,
|
beforeEach,
|
||||||
describe,
|
describe,
|
||||||
@@ -34,10 +35,25 @@ jest.unstable_mockModule('@actions/io', () => ({
|
|||||||
jest.unstable_mockModule('fs', () => {
|
jest.unstable_mockModule('fs', () => {
|
||||||
const actual = jest.requireActual('fs') as typeof import('fs');
|
const actual = jest.requireActual('fs') as typeof import('fs');
|
||||||
const chmodSync = jest.fn();
|
const chmodSync = jest.fn();
|
||||||
|
const readdirSync = jest.fn();
|
||||||
|
const existsSync = jest.fn(() => true);
|
||||||
|
const statSync = jest.fn(() => ({isFile: () => true}));
|
||||||
|
const accessSync = jest.fn();
|
||||||
return {
|
return {
|
||||||
...actual,
|
...actual,
|
||||||
chmodSync,
|
chmodSync,
|
||||||
default: {...actual, chmodSync}
|
readdirSync,
|
||||||
|
existsSync,
|
||||||
|
statSync,
|
||||||
|
accessSync,
|
||||||
|
default: {
|
||||||
|
...actual,
|
||||||
|
chmodSync,
|
||||||
|
readdirSync,
|
||||||
|
existsSync,
|
||||||
|
statSync,
|
||||||
|
accessSync
|
||||||
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -514,6 +530,825 @@ describe('installer tests', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('check-latest: false (local SDK reuse) tests', () => {
|
||||||
|
const readdirSyncSpy = fs.readdirSync as unknown as jest.Mock;
|
||||||
|
const statSyncSpy = fs.statSync as unknown as jest.Mock;
|
||||||
|
const accessSyncSpy = fs.accessSync as unknown as jest.Mock;
|
||||||
|
|
||||||
|
const asFile = {isFile: () => true};
|
||||||
|
const muxerName = IS_WINDOWS ? 'dotnet.exe' : 'dotnet';
|
||||||
|
const isMuxer = (target: unknown) => String(target).endsWith(muxerName);
|
||||||
|
const throwEnoent = () => {
|
||||||
|
throw new Error('ENOENT');
|
||||||
|
};
|
||||||
|
|
||||||
|
const makeDirents = (names: string[]): any =>
|
||||||
|
names.map(name => ({
|
||||||
|
name,
|
||||||
|
isDirectory: () => true,
|
||||||
|
isSymbolicLink: () => false
|
||||||
|
}));
|
||||||
|
|
||||||
|
const makeSymlinks = (names: string[]): any =>
|
||||||
|
names.map(name => ({
|
||||||
|
name,
|
||||||
|
isDirectory: () => false,
|
||||||
|
isSymbolicLink: () => true
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
getExecOutputSpy.mockClear();
|
||||||
|
getExecOutputSpy.mockImplementation(() =>
|
||||||
|
Promise.resolve({
|
||||||
|
exitCode: 0,
|
||||||
|
stdout: 'Fictitious dotnet version 1.2.3 is installed',
|
||||||
|
stderr: ''
|
||||||
|
})
|
||||||
|
);
|
||||||
|
statSyncSpy.mockReturnValue(asFile);
|
||||||
|
accessSyncSpy.mockImplementation(() => undefined);
|
||||||
|
});
|
||||||
|
|
||||||
|
afterEach(() => {
|
||||||
|
readdirSyncSpy.mockReset();
|
||||||
|
statSyncSpy.mockReset();
|
||||||
|
accessSyncSpy.mockReset();
|
||||||
|
});
|
||||||
|
|
||||||
|
interface LocalReuseCase {
|
||||||
|
name: string;
|
||||||
|
version: string;
|
||||||
|
quality?: string;
|
||||||
|
dotnetChannel?: string;
|
||||||
|
minimumVersion?: string;
|
||||||
|
installed: string[];
|
||||||
|
expected: string | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const localReuseCases: LocalReuseCase[] = [
|
||||||
|
{
|
||||||
|
name: 'reuses a locally installed pinned SDK and skips all install scripts',
|
||||||
|
version: '8.0.422',
|
||||||
|
installed: ['8.0.100', '8.0.422'],
|
||||||
|
expected: '8.0.422'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'falls back to online install when no local SDK matches the pinned request',
|
||||||
|
version: '8.0.422',
|
||||||
|
installed: ['8.0.100'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'reuses the highest matching patch for a floating A.B.x request',
|
||||||
|
version: '8.0.x',
|
||||||
|
installed: ['8.0.100', '8.0.412', '8.0.205'],
|
||||||
|
expected: '8.0.412'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'matches the correct feature band for an A.B.Cxx request',
|
||||||
|
version: '8.0.1xx',
|
||||||
|
installed: ['8.0.100', '8.0.105', '8.0.203'],
|
||||||
|
expected: '8.0.105'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'picks the highest installed SDK for a channel-less latest request',
|
||||||
|
version: 'latest',
|
||||||
|
installed: ['8.0.412', '9.0.101'],
|
||||||
|
expected: '9.0.101'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'ignores prerelease SDKs when quality is not preview/daily',
|
||||||
|
version: '8.0.x',
|
||||||
|
installed: ['8.0.100-preview.1', '8.0.100'],
|
||||||
|
expected: '8.0.100'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'reuses the highest installed SDK for a major-only request',
|
||||||
|
version: '8',
|
||||||
|
installed: ['8.0.100', '8.0.412', '8.0.205'],
|
||||||
|
expected: '8.0.412'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'reuses a prerelease SDK when quality is preview',
|
||||||
|
version: '8.0.x',
|
||||||
|
quality: 'preview',
|
||||||
|
installed: ['8.0.100-preview.1', '8.0.100-preview.2'],
|
||||||
|
expected: '8.0.100-preview.2'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'falls back to online install when no local SDK matches a floating request',
|
||||||
|
version: '9.0.x',
|
||||||
|
installed: ['8.0.412'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'installs online for a latest request with an LTS channel',
|
||||||
|
version: 'latest',
|
||||||
|
dotnetChannel: 'LTS',
|
||||||
|
installed: ['8.0.412', '9.0.101'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'reuses the SDK of the requested channel for a latest request',
|
||||||
|
version: 'latest',
|
||||||
|
dotnetChannel: '8.0',
|
||||||
|
installed: ['8.0.412', '9.0.101'],
|
||||||
|
expected: '8.0.412'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'installs online for a wildcard request instead of guessing',
|
||||||
|
version: 'x',
|
||||||
|
installed: ['8.0.412', '9.0.101'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'does not reuse a local SDK below the global.json minimum version',
|
||||||
|
version: '8.0',
|
||||||
|
minimumVersion: '8.0.400',
|
||||||
|
installed: ['8.0.100', '8.0.205'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'reuses a local SDK at or above the global.json minimum version',
|
||||||
|
version: '8.0',
|
||||||
|
minimumVersion: '8.0.400',
|
||||||
|
installed: ['8.0.100', '8.0.412'],
|
||||||
|
expected: '8.0.412'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'installs online when quality is preview but only GA SDKs are local',
|
||||||
|
version: '8.0.x',
|
||||||
|
quality: 'preview',
|
||||||
|
installed: ['8.0.412'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'ignores the quality input for majors below 6 when matching locally',
|
||||||
|
version: '3.1',
|
||||||
|
quality: 'preview',
|
||||||
|
installed: ['3.1.426', '3.1.500-preview.1'],
|
||||||
|
expected: '3.1.426'
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
each(localReuseCases).it(
|
||||||
|
'$name',
|
||||||
|
async ({
|
||||||
|
version,
|
||||||
|
quality = '',
|
||||||
|
dotnetChannel,
|
||||||
|
minimumVersion,
|
||||||
|
installed,
|
||||||
|
expected
|
||||||
|
}: LocalReuseCase) => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(installed));
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '8.0.412');
|
||||||
|
|
||||||
|
const installedVersion = await new installer.DotnetCoreInstaller(
|
||||||
|
version,
|
||||||
|
quality as any,
|
||||||
|
undefined,
|
||||||
|
dotnetChannel,
|
||||||
|
false,
|
||||||
|
minimumVersion
|
||||||
|
).installDotnet();
|
||||||
|
|
||||||
|
if (expected === null) {
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
} else {
|
||||||
|
expect(installedVersion).toBe(expected);
|
||||||
|
expect(getExecOutputSpy).not.toHaveBeenCalled();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
it('rejects an A.B.Cxx request below .NET 5 instead of reusing a local SDK', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['3.1.100']));
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'3.1.1xx',
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
await expect(dotnetInstaller.installDotnet()).rejects.toThrow(
|
||||||
|
`The 'dotnet-version' was supplied in invalid format: 3.1.1xx! The A.B.Cxx syntax is available since the .NET 5.0 release.`
|
||||||
|
);
|
||||||
|
expect(getExecOutputSpy).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
each(['preview', 'daily'] as const).it(
|
||||||
|
"reuses the highest local prerelease SDK for a channel-less latest request with '%s' quality",
|
||||||
|
async quality => {
|
||||||
|
readdirSyncSpy.mockReturnValue(
|
||||||
|
makeDirents(['8.0.412', '9.0.100-preview.1', '9.0.100-preview.2'])
|
||||||
|
);
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'latest',
|
||||||
|
quality,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
const installedVersion = await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(installedVersion).toBe('9.0.100-preview.2');
|
||||||
|
expect(getExecOutputSpy).not.toHaveBeenCalled();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
it('does NOT reuse a local SDK for a cross-architecture request', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.412']));
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '8.0.412');
|
||||||
|
const archSpy = jest.spyOn(os, 'arch').mockReturnValue('arm64');
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'8.0.x',
|
||||||
|
'',
|
||||||
|
'x64',
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
archSpy.mockRestore();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('installs online when check-latest defaults to true even if SDK is local', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.422']));
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '8.0.422');
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'8.0.422',
|
||||||
|
''
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('installs online when the dotnet muxer is missing', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.412']));
|
||||||
|
statSyncSpy.mockImplementation((target: string) => {
|
||||||
|
if (isMuxer(target)) {
|
||||||
|
throwEnoent();
|
||||||
|
}
|
||||||
|
return asFile;
|
||||||
|
});
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '8.0.412');
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'8.0.x',
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
});
|
||||||
|
|
||||||
|
const itOnPosix = IS_WINDOWS ? it.skip : it;
|
||||||
|
|
||||||
|
itOnPosix(
|
||||||
|
'installs online when the dotnet muxer is not executable',
|
||||||
|
async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.412']));
|
||||||
|
accessSyncSpy.mockImplementation((target: string) => {
|
||||||
|
if (isMuxer(target)) {
|
||||||
|
throw new Error('EACCES');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '8.0.412');
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'8.0.x',
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
it('installs online when the dotnet muxer path is a directory', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.412']));
|
||||||
|
statSyncSpy.mockImplementation((target: string) =>
|
||||||
|
isMuxer(target) ? {isFile: () => false} : asFile
|
||||||
|
);
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '8.0.412');
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'8.0.x',
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('reuses an SDK exposed as a symbolic link', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeSymlinks(['8.0.412']));
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'8.0.x',
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
const installedVersion = await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(installedVersion).toBe('8.0.412');
|
||||||
|
expect(getExecOutputSpy).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('matches the online channel mapping for legacy major-only requests', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['3.0.103', '3.1.426']));
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'3',
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
const installedVersion = await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(installedVersion).toBe('3.1.426');
|
||||||
|
expect(getExecOutputSpy).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
each(['8.0.X', '8.0.x', '8.0.*', '8.0']).it(
|
||||||
|
'reuses a local SDK for the floating request %s',
|
||||||
|
async (version: string) => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.100', '8.0.412']));
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
version,
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
const installedVersion = await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(installedVersion).toBe('8.0.412');
|
||||||
|
expect(getExecOutputSpy).not.toHaveBeenCalled();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
each(['8.X', '8.x', '8.*', '8']).it(
|
||||||
|
'reuses a local SDK for the major-only request %s',
|
||||||
|
async (version: string) => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.100', '8.0.412']));
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
version,
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
const installedVersion = await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(installedVersion).toBe('8.0.412');
|
||||||
|
expect(getExecOutputSpy).not.toHaveBeenCalled();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
it('does not reuse a local SDK for an uppercase feature band request', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.105']));
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'8.0.1XX',
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
await expect(dotnetInstaller.installDotnet()).rejects.toThrow(
|
||||||
|
`The 'dotnet-version' was supplied in invalid format: 8.0.1XX!`
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
each(['08.0.x', '8.00.x', '08']).it(
|
||||||
|
'does not reuse a local SDK for the invalid request %s',
|
||||||
|
async (version: string) => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.412']));
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
version,
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
await expect(dotnetInstaller.installDotnet()).rejects.toThrow(
|
||||||
|
`The 'dotnet-version' was supplied in invalid format: ${version}!`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
it('ignores an sdk folder that does not contain an SDK', async () => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(['8.0.412']));
|
||||||
|
statSyncSpy.mockImplementation((target: string) => {
|
||||||
|
if (String(target).includes('dotnet.dll')) {
|
||||||
|
throwEnoent();
|
||||||
|
}
|
||||||
|
return asFile;
|
||||||
|
});
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '8.0.412');
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
'8.0.x',
|
||||||
|
'',
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('global.json rollForward tests', () => {
|
||||||
|
interface RollForwardCase {
|
||||||
|
name: string;
|
||||||
|
version?: string;
|
||||||
|
quality?: string;
|
||||||
|
minimumVersion?: string;
|
||||||
|
rollForward?: string;
|
||||||
|
installed: string[];
|
||||||
|
expected: string | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const rollForwardCases: RollForwardCase[] = [
|
||||||
|
{
|
||||||
|
name: 'latestMajor reuses the highest local SDK across majors',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'latestMajor',
|
||||||
|
installed: ['8.0.412', '9.0.101'],
|
||||||
|
expected: '9.0.101'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'latestMajor ignores local SDKs below the declared version',
|
||||||
|
minimumVersion: '8.0.412',
|
||||||
|
rollForward: 'latestMajor',
|
||||||
|
installed: ['8.0.100', '7.0.400'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'latestMajor keeps requiring GA builds when quality is preview',
|
||||||
|
quality: 'preview',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'latestMajor',
|
||||||
|
installed: ['9.0.200-preview.1'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'latestMinor reuses a higher local minor of the same major',
|
||||||
|
version: '8',
|
||||||
|
minimumVersion: '8.1.100',
|
||||||
|
rollForward: 'latestMinor',
|
||||||
|
installed: ['8.1.200', '8.2.300'],
|
||||||
|
expected: '8.2.300'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'latestMinor does not cross into another major',
|
||||||
|
version: '8',
|
||||||
|
minimumVersion: '8.1.100',
|
||||||
|
rollForward: 'latestMinor',
|
||||||
|
installed: ['9.0.101'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'latestMinor ignores local SDKs below the declared version',
|
||||||
|
version: '8',
|
||||||
|
minimumVersion: '8.1.100',
|
||||||
|
rollForward: 'latestMinor',
|
||||||
|
installed: ['8.0.412'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'latestFeature takes the highest band of the declared major.minor',
|
||||||
|
version: '8.0',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'latestFeature',
|
||||||
|
installed: ['8.0.105', '8.0.400'],
|
||||||
|
expected: '8.0.400'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'latestPatch stays inside the declared feature band',
|
||||||
|
version: '8.0.2xx',
|
||||||
|
minimumVersion: '8.0.200',
|
||||||
|
rollForward: 'latestPatch',
|
||||||
|
installed: ['8.0.205', '8.0.412'],
|
||||||
|
expected: '8.0.205'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'latestPatch takes the highest patch even when the declared version is installed',
|
||||||
|
version: '8.0.1xx',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'latestPatch',
|
||||||
|
installed: ['8.0.100', '8.0.105'],
|
||||||
|
expected: '8.0.105'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'patch prefers the exact declared version',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'patch',
|
||||||
|
installed: ['8.0.100', '8.0.105'],
|
||||||
|
expected: '8.0.100'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'patch stays inside the declared feature band',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'patch',
|
||||||
|
installed: ['8.0.105', '8.0.200'],
|
||||||
|
expected: '8.0.105'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'feature prefers the declared band over a higher band',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'feature',
|
||||||
|
installed: ['8.0.105', '8.0.400'],
|
||||||
|
expected: '8.0.105'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'feature rolls to the next higher band, not the highest',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'feature',
|
||||||
|
installed: ['8.0.200', '8.0.300', '8.0.400'],
|
||||||
|
expected: '8.0.200'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'feature takes the latest patch of the selected band',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'feature',
|
||||||
|
installed: ['8.0.201', '8.0.205', '8.0.400'],
|
||||||
|
expected: '8.0.205'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'feature does not cross into another minor',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'feature',
|
||||||
|
installed: ['8.1.100'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'minor prefers a higher band of the declared minor over a higher minor',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'minor',
|
||||||
|
installed: ['8.0.400', '8.1.100'],
|
||||||
|
expected: '8.0.400'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'minor rolls to the next higher minor, not the highest',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'minor',
|
||||||
|
installed: ['8.1.100', '8.2.100'],
|
||||||
|
expected: '8.1.100'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'major prefers the declared major over a higher major',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'major',
|
||||||
|
installed: ['8.0.400', '9.0.100'],
|
||||||
|
expected: '8.0.400'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'major rolls to the next higher major, not the highest',
|
||||||
|
version: '8.0.100',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'major',
|
||||||
|
installed: ['9.0.100', '10.0.100'],
|
||||||
|
expected: '9.0.100'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'non-latest policies ignore dotnet-quality, as the online path does',
|
||||||
|
version: '8.0.100',
|
||||||
|
quality: 'preview',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'patch',
|
||||||
|
installed: ['8.0.105'],
|
||||||
|
expected: '8.0.105'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'non-latest policies never prefer a prerelease over a GA build',
|
||||||
|
version: '8.0.100',
|
||||||
|
quality: 'preview',
|
||||||
|
minimumVersion: '8.0.100',
|
||||||
|
rollForward: 'major',
|
||||||
|
installed: ['8.0.100', '9.0.100-rc.2'],
|
||||||
|
expected: '8.0.100'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'roll-forward policies never select below the declared version',
|
||||||
|
version: '8.0.200',
|
||||||
|
minimumVersion: '8.0.200',
|
||||||
|
rollForward: 'major',
|
||||||
|
installed: ['8.0.100'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'disable requires the exact declared version',
|
||||||
|
version: '8.0.100',
|
||||||
|
installed: ['8.0.200'],
|
||||||
|
expected: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'installs online for an empty version without a rollForward floor',
|
||||||
|
installed: ['8.0.412'],
|
||||||
|
expected: null
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
each(rollForwardCases).it(
|
||||||
|
'$name',
|
||||||
|
async ({
|
||||||
|
version = '',
|
||||||
|
quality = '',
|
||||||
|
minimumVersion,
|
||||||
|
rollForward,
|
||||||
|
installed,
|
||||||
|
expected
|
||||||
|
}: RollForwardCase) => {
|
||||||
|
readdirSyncSpy.mockReturnValue(makeDirents(installed));
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '8.0.412');
|
||||||
|
|
||||||
|
const installedVersion = await new installer.DotnetCoreInstaller(
|
||||||
|
version,
|
||||||
|
quality as any,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
false,
|
||||||
|
minimumVersion,
|
||||||
|
rollForward
|
||||||
|
).installDotnet();
|
||||||
|
|
||||||
|
if (expected === null) {
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
} else {
|
||||||
|
expect(installedVersion).toBe(expected);
|
||||||
|
expect(getExecOutputSpy).not.toHaveBeenCalled();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('skip-lts-prepass tests', () => {
|
||||||
|
it('should run the LTS pre-pass by default (skip-lts-prepass not set)', async () => {
|
||||||
|
const inputVersion = '9.0.100';
|
||||||
|
const inputQuality = '';
|
||||||
|
const stdout = `Fictitious dotnet version ${inputVersion} is installed`;
|
||||||
|
|
||||||
|
getExecOutputSpy.mockImplementation(() => {
|
||||||
|
return Promise.resolve({exitCode: 0, stdout, stderr: ''});
|
||||||
|
});
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => inputVersion);
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
inputVersion,
|
||||||
|
inputQuality
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
const ltsCallArguments = (
|
||||||
|
getExecOutputSpy.mock.calls[0][1] as string[]
|
||||||
|
).join(' ');
|
||||||
|
expect(ltsCallArguments).toContain(
|
||||||
|
IS_WINDOWS ? '-Channel LTS' : '--channel LTS'
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should skip the LTS pre-pass and install only the requested version when skip-lts-prepass is true', async () => {
|
||||||
|
const inputVersion = '9.0.100';
|
||||||
|
const inputQuality = '';
|
||||||
|
const stdout = `Fictitious dotnet version ${inputVersion} is installed`;
|
||||||
|
|
||||||
|
getExecOutputSpy.mockImplementation(() => {
|
||||||
|
return Promise.resolve({exitCode: 0, stdout, stderr: ''});
|
||||||
|
});
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => inputVersion);
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
inputVersion,
|
||||||
|
inputQuality,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
true,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
const installedVersion = await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(1);
|
||||||
|
const scriptArguments = (
|
||||||
|
getExecOutputSpy.mock.calls[0][1] as string[]
|
||||||
|
).join(' ');
|
||||||
|
expect(scriptArguments).not.toContain('LTS');
|
||||||
|
expect(scriptArguments).toContain(
|
||||||
|
IS_WINDOWS
|
||||||
|
? `-Version ${inputVersion}`
|
||||||
|
: `--version ${inputVersion}`
|
||||||
|
);
|
||||||
|
expect(installedVersion).toBe(inputVersion);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should skip the LTS pre-pass for a cross-architecture install', async () => {
|
||||||
|
const inputVersion = '9.0.100';
|
||||||
|
const inputQuality = '';
|
||||||
|
const inputArchitecture =
|
||||||
|
installer.normalizeArch(os.arch()) === 'x64' ? 'arm64' : 'x64';
|
||||||
|
const stdout = `Fictitious dotnet version ${inputVersion} is installed`;
|
||||||
|
|
||||||
|
getExecOutputSpy.mockImplementation(() => {
|
||||||
|
return Promise.resolve({exitCode: 0, stdout, stderr: ''});
|
||||||
|
});
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => inputVersion);
|
||||||
|
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
inputVersion,
|
||||||
|
inputQuality,
|
||||||
|
inputArchitecture,
|
||||||
|
undefined,
|
||||||
|
true,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(1);
|
||||||
|
const scriptArguments = (
|
||||||
|
getExecOutputSpy.mock.calls[0][1] as string[]
|
||||||
|
).join(' ');
|
||||||
|
expect(scriptArguments).not.toContain('LTS');
|
||||||
|
expect(scriptArguments).toContain(
|
||||||
|
IS_WINDOWS ? '-Architecture' : '--architecture'
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should skip the LTS pre-pass for each requested version', async () => {
|
||||||
|
const inputQuality = '';
|
||||||
|
|
||||||
|
getExecOutputSpy.mockImplementation(() => {
|
||||||
|
return Promise.resolve({
|
||||||
|
exitCode: 0,
|
||||||
|
stdout: `Fictitious dotnet version installed`,
|
||||||
|
stderr: ''
|
||||||
|
});
|
||||||
|
});
|
||||||
|
maxSatisfyingSpy.mockImplementation(() => '9.0.100');
|
||||||
|
|
||||||
|
for (const version of ['8.0.100', '9.0.100']) {
|
||||||
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
version,
|
||||||
|
inputQuality,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
true,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
await dotnetInstaller.installDotnet();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 2 versions x 1 call each (no LTS pre-pass call for either)
|
||||||
|
expect(getExecOutputSpy).toHaveBeenCalledTimes(2);
|
||||||
|
for (const call of getExecOutputSpy.mock.calls) {
|
||||||
|
expect((call[1] as string[]).join(' ')).not.toContain('LTS');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
describe('addToPath() tests', () => {
|
describe('addToPath() tests', () => {
|
||||||
it(`should export DOTNET_ROOT env.var with value from DOTNET_INSTALL_DIR env.var`, async () => {
|
it(`should export DOTNET_ROOT env.var with value from DOTNET_INSTALL_DIR env.var`, async () => {
|
||||||
process.env['DOTNET_INSTALL_DIR'] = 'fictitious/dotnet/install/dir';
|
process.env['DOTNET_INSTALL_DIR'] = 'fictitious/dotnet/install/dir';
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ describe('setup-dotnet tests', () => {
|
|||||||
const setOutputSpy = core.setOutput as jest.Mock;
|
const setOutputSpy = core.setOutput as jest.Mock;
|
||||||
|
|
||||||
const existsSyncSpy = fs.existsSync as jest.Mock;
|
const existsSyncSpy = fs.existsSync as jest.Mock;
|
||||||
|
const readFileSyncSpy = fs.readFileSync as jest.Mock;
|
||||||
|
|
||||||
const maxSatisfyingSpy = jest.spyOn(semver, 'maxSatisfying');
|
const maxSatisfyingSpy = jest.spyOn(semver, 'maxSatisfying');
|
||||||
|
|
||||||
@@ -85,11 +86,17 @@ describe('setup-dotnet tests', () => {
|
|||||||
DotnetInstallDir.addToPath = jest.fn();
|
DotnetInstallDir.addToPath = jest.fn();
|
||||||
getMultilineInputSpy.mockImplementation(input => inputs[input as string]);
|
getMultilineInputSpy.mockImplementation(input => inputs[input as string]);
|
||||||
getInputSpy.mockImplementation(input => inputs[input as string]);
|
getInputSpy.mockImplementation(input => inputs[input as string]);
|
||||||
getBooleanInputSpy.mockImplementation(input => inputs[input as string]);
|
getBooleanInputSpy.mockImplementation(input => {
|
||||||
|
const value = inputs[input as string];
|
||||||
|
return typeof value === 'string'
|
||||||
|
? value.toLowerCase() === 'true'
|
||||||
|
: !!value;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
DotnetInstallDir.addToPath = addToPathOriginal;
|
DotnetInstallDir.addToPath = addToPathOriginal;
|
||||||
|
delete process.env['DOTNET_CHECK_LATEST'];
|
||||||
jest.clearAllMocks();
|
jest.clearAllMocks();
|
||||||
jest.resetAllMocks();
|
jest.resetAllMocks();
|
||||||
});
|
});
|
||||||
@@ -289,6 +296,115 @@ describe('setup-dotnet tests', () => {
|
|||||||
expect(DotnetInstallDir.addToPath).toHaveBeenCalledTimes(1);
|
expect(DotnetInstallDir.addToPath).toHaveBeenCalledTimes(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("should read the 'check-latest' input and pass it to DotnetCoreInstaller", async () => {
|
||||||
|
inputs['dotnet-version'] = ['10.0.101'];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
|
||||||
|
let capturedCheckLatest: boolean | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedCheckLatest = this.checkLatest;
|
||||||
|
return Promise.resolve('');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
|
||||||
|
expect(getBooleanInputSpy).toHaveBeenCalledWith('check-latest');
|
||||||
|
expect(installDotnetSpy).toHaveBeenCalledTimes(1);
|
||||||
|
expect(capturedCheckLatest).toBe(false);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("should read the 'skip-lts-prepass' input and pass it to DotnetCoreInstaller", async () => {
|
||||||
|
inputs['dotnet-version'] = ['10.0.101'];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['skip-lts-prepass'] = 'true';
|
||||||
|
|
||||||
|
let capturedSkipLtsPrepass: boolean | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedSkipLtsPrepass = this.skipLtsPrepass;
|
||||||
|
return Promise.resolve('');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
|
||||||
|
expect(getBooleanInputSpy).toHaveBeenCalledWith('skip-lts-prepass');
|
||||||
|
expect(installDotnetSpy).toHaveBeenCalledTimes(1);
|
||||||
|
expect(capturedSkipLtsPrepass).toBe(true);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("should default 'skip-lts-prepass' to false when the input isn't set", async () => {
|
||||||
|
inputs['dotnet-version'] = ['10.0.101'];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['skip-lts-prepass'] = '';
|
||||||
|
|
||||||
|
let capturedSkipLtsPrepass: boolean | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedSkipLtsPrepass = this.skipLtsPrepass;
|
||||||
|
return Promise.resolve('');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
|
||||||
|
expect(getBooleanInputSpy).toHaveBeenCalledWith('skip-lts-prepass');
|
||||||
|
expect(installDotnetSpy).toHaveBeenCalledTimes(1);
|
||||||
|
expect(capturedSkipLtsPrepass).toBe(false);
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("'check-latest' resolution", () => {
|
||||||
|
const captureCheckLatest = async () => {
|
||||||
|
inputs['dotnet-version'] = ['10.0.101'];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
|
||||||
|
let capturedCheckLatest: boolean | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedCheckLatest = this.checkLatest;
|
||||||
|
return Promise.resolve('');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
return capturedCheckLatest;
|
||||||
|
};
|
||||||
|
|
||||||
|
it('defaults to true when neither the input nor the environment variable is set', async () => {
|
||||||
|
inputs['check-latest'] = '';
|
||||||
|
|
||||||
|
expect(await captureCheckLatest()).toBe(true);
|
||||||
|
expect(getBooleanInputSpy).not.toHaveBeenCalledWith('check-latest');
|
||||||
|
});
|
||||||
|
|
||||||
|
it.each(['false', 'FALSE', 'False'])(
|
||||||
|
"reads 'check-latest' from the DOTNET_CHECK_LATEST environment variable ('%s')",
|
||||||
|
async envValue => {
|
||||||
|
inputs['check-latest'] = '';
|
||||||
|
process.env['DOTNET_CHECK_LATEST'] = envValue;
|
||||||
|
|
||||||
|
expect(await captureCheckLatest()).toBe(false);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
it('lets an explicit input win over the environment variable', async () => {
|
||||||
|
inputs['check-latest'] = 'true';
|
||||||
|
process.env['DOTNET_CHECK_LATEST'] = 'false';
|
||||||
|
|
||||||
|
expect(await captureCheckLatest()).toBe(true);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('warns and falls back to true when the environment variable is not a boolean', async () => {
|
||||||
|
inputs['check-latest'] = '';
|
||||||
|
process.env['DOTNET_CHECK_LATEST'] = 'yes';
|
||||||
|
|
||||||
|
expect(await captureCheckLatest()).toBe(true);
|
||||||
|
expect(warningSpy).toHaveBeenCalledWith(
|
||||||
|
`Value 'yes' is not supported for the DOTNET_CHECK_LATEST environment variable. Supported values are: true, false. The 'check-latest' option falls back to 'true'.`
|
||||||
|
);
|
||||||
|
expect(setFailedSpy).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
it('should fail the action if unsupported architecture is provided', async () => {
|
it('should fail the action if unsupported architecture is provided', async () => {
|
||||||
inputs['dotnet-version'] = ['10.0.101'];
|
inputs['dotnet-version'] = ['10.0.101'];
|
||||||
inputs['dotnet-quality'] = '';
|
inputs['dotnet-quality'] = '';
|
||||||
@@ -389,5 +505,241 @@ describe('setup-dotnet tests', () => {
|
|||||||
`The 'dotnet-channel' input is only supported when 'dotnet-version' is set to 'latest'.`
|
`The 'dotnet-channel' input is only supported when 'dotnet-version' is set to 'latest'.`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should pass the global.json rollForward minimum version to DotnetCoreInstaller', async () => {
|
||||||
|
inputs['dotnet-version'] = [];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['dotnet-channel'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
inputs['global-json-file'] = 'global.json';
|
||||||
|
|
||||||
|
existsSyncSpy.mockReturnValue(true);
|
||||||
|
readFileSyncSpy.mockReturnValue(
|
||||||
|
JSON.stringify({
|
||||||
|
sdk: {version: '8.0.400', rollForward: 'latestFeature'}
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
let capturedVersion: string | undefined;
|
||||||
|
let capturedMinimumVersion: string | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedVersion = this.version;
|
||||||
|
capturedMinimumVersion = this.minimumVersion;
|
||||||
|
return Promise.resolve('8.0.412');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
inputs['global-json-file'] = '';
|
||||||
|
|
||||||
|
expect(capturedVersion).toBe('8.0');
|
||||||
|
expect(capturedMinimumVersion).toBe('8.0.400');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should pass non-latest rollForward policies to DotnetCoreInstaller', async () => {
|
||||||
|
inputs['dotnet-version'] = [];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['dotnet-channel'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
inputs['global-json-file'] = 'global.json';
|
||||||
|
|
||||||
|
existsSyncSpy.mockReturnValue(true);
|
||||||
|
readFileSyncSpy.mockReturnValue(
|
||||||
|
JSON.stringify({sdk: {version: '8.0.100', rollForward: 'feature'}})
|
||||||
|
);
|
||||||
|
|
||||||
|
let capturedVersion: string | undefined;
|
||||||
|
let capturedMinimumVersion: string | undefined;
|
||||||
|
let capturedRollForward: string | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedVersion = this.version;
|
||||||
|
capturedMinimumVersion = this.minimumVersion;
|
||||||
|
capturedRollForward = this.rollForward;
|
||||||
|
return Promise.resolve('8.0.200');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
inputs['global-json-file'] = '';
|
||||||
|
|
||||||
|
expect(capturedVersion).toBe('8.0.100');
|
||||||
|
expect(capturedMinimumVersion).toBe('8.0.100');
|
||||||
|
expect(capturedRollForward).toBe('feature');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should default an omitted rollForward to patch', async () => {
|
||||||
|
inputs['dotnet-version'] = [];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['dotnet-channel'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
inputs['global-json-file'] = 'global.json';
|
||||||
|
|
||||||
|
existsSyncSpy.mockReturnValue(true);
|
||||||
|
readFileSyncSpy.mockReturnValue(
|
||||||
|
JSON.stringify({sdk: {version: '8.0.100'}})
|
||||||
|
);
|
||||||
|
|
||||||
|
let capturedVersion: string | undefined;
|
||||||
|
let capturedMinimumVersion: string | undefined;
|
||||||
|
let capturedRollForward: string | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedVersion = this.version;
|
||||||
|
capturedMinimumVersion = this.minimumVersion;
|
||||||
|
capturedRollForward = this.rollForward;
|
||||||
|
return Promise.resolve('8.0.100');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
inputs['global-json-file'] = '';
|
||||||
|
|
||||||
|
expect(capturedVersion).toBe('8.0.100');
|
||||||
|
expect(capturedMinimumVersion).toBe('8.0.100');
|
||||||
|
expect(capturedRollForward).toBe('patch');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should not default to patch for a prerelease sdk version', async () => {
|
||||||
|
inputs['dotnet-version'] = [];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['dotnet-channel'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
inputs['global-json-file'] = 'global.json';
|
||||||
|
|
||||||
|
existsSyncSpy.mockReturnValue(true);
|
||||||
|
readFileSyncSpy.mockReturnValue(
|
||||||
|
JSON.stringify({sdk: {version: '8.0.100-preview.1'}})
|
||||||
|
);
|
||||||
|
|
||||||
|
let capturedMinimumVersion: string | undefined;
|
||||||
|
let capturedRollForward: string | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedMinimumVersion = this.minimumVersion;
|
||||||
|
capturedRollForward = this.rollForward;
|
||||||
|
return Promise.resolve('8.0.100-preview.1');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
inputs['global-json-file'] = '';
|
||||||
|
|
||||||
|
expect(capturedMinimumVersion).toBeUndefined();
|
||||||
|
expect(capturedRollForward).toBeUndefined();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should not default to patch for a version that is not a full SDK version', async () => {
|
||||||
|
inputs['dotnet-version'] = [];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['dotnet-channel'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
inputs['global-json-file'] = 'global.json';
|
||||||
|
|
||||||
|
existsSyncSpy.mockReturnValue(true);
|
||||||
|
readFileSyncSpy.mockReturnValue(
|
||||||
|
JSON.stringify({sdk: {version: '8.0.0'}})
|
||||||
|
);
|
||||||
|
|
||||||
|
let capturedMinimumVersion: string | undefined;
|
||||||
|
let capturedRollForward: string | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedMinimumVersion = this.minimumVersion;
|
||||||
|
capturedRollForward = this.rollForward;
|
||||||
|
return Promise.resolve('8.0.0');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
inputs['global-json-file'] = '';
|
||||||
|
|
||||||
|
expect(capturedMinimumVersion).toBeUndefined();
|
||||||
|
expect(capturedRollForward).toBeUndefined();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should not roll forward a version pinned by the dotnet-version input', async () => {
|
||||||
|
inputs['dotnet-version'] = ['8.0.100'];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['dotnet-channel'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
inputs['global-json-file'] = 'global.json';
|
||||||
|
|
||||||
|
existsSyncSpy.mockReturnValue(true);
|
||||||
|
readFileSyncSpy.mockReturnValue(
|
||||||
|
JSON.stringify({sdk: {version: '8.0.100'}})
|
||||||
|
);
|
||||||
|
|
||||||
|
let capturedMinimumVersion: string | undefined;
|
||||||
|
let capturedRollForward: string | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedMinimumVersion = this.minimumVersion;
|
||||||
|
capturedRollForward = this.rollForward;
|
||||||
|
return Promise.resolve('8.0.100');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
inputs['global-json-file'] = '';
|
||||||
|
|
||||||
|
expect(installDotnetSpy).toHaveBeenCalledTimes(1);
|
||||||
|
expect(capturedMinimumVersion).toBeUndefined();
|
||||||
|
expect(capturedRollForward).toBeUndefined();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should keep the global.json floor when a floating dotnet-version matches', async () => {
|
||||||
|
inputs['dotnet-version'] = ['8.0'];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['dotnet-channel'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
inputs['global-json-file'] = 'global.json';
|
||||||
|
|
||||||
|
existsSyncSpy.mockReturnValue(true);
|
||||||
|
readFileSyncSpy.mockReturnValue(
|
||||||
|
JSON.stringify({
|
||||||
|
sdk: {version: '8.0.400', rollForward: 'latestFeature'}
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
let capturedMinimumVersion: string | undefined;
|
||||||
|
let capturedRollForward: string | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedMinimumVersion = this.minimumVersion;
|
||||||
|
capturedRollForward = this.rollForward;
|
||||||
|
return Promise.resolve('8.0.400');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
inputs['global-json-file'] = '';
|
||||||
|
|
||||||
|
expect(installDotnetSpy).toHaveBeenCalledTimes(1);
|
||||||
|
expect(capturedMinimumVersion).toBe('8.0.400');
|
||||||
|
expect(capturedRollForward).toBe('latestFeature');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should not set a rollForward policy for disable', async () => {
|
||||||
|
inputs['dotnet-version'] = [];
|
||||||
|
inputs['dotnet-quality'] = '';
|
||||||
|
inputs['dotnet-channel'] = '';
|
||||||
|
inputs['architecture'] = '';
|
||||||
|
inputs['check-latest'] = 'false';
|
||||||
|
inputs['global-json-file'] = 'global.json';
|
||||||
|
|
||||||
|
existsSyncSpy.mockReturnValue(true);
|
||||||
|
readFileSyncSpy.mockReturnValue(
|
||||||
|
JSON.stringify({sdk: {version: '8.0.100', rollForward: 'disable'}})
|
||||||
|
);
|
||||||
|
|
||||||
|
let capturedMinimumVersion: string | undefined;
|
||||||
|
let capturedRollForward: string | undefined;
|
||||||
|
installDotnetSpy.mockImplementation(function (this: any) {
|
||||||
|
capturedMinimumVersion = this.minimumVersion;
|
||||||
|
capturedRollForward = this.rollForward;
|
||||||
|
return Promise.resolve('8.0.100');
|
||||||
|
});
|
||||||
|
|
||||||
|
await setup.run();
|
||||||
|
inputs['global-json-file'] = '';
|
||||||
|
|
||||||
|
expect(capturedMinimumVersion).toBeUndefined();
|
||||||
|
expect(capturedRollForward).toBeUndefined();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -74,6 +74,7 @@ $targetFrameworkVersionMap = @{
|
|||||||
"8.0" = "net8.0";
|
"8.0" = "net8.0";
|
||||||
"9.0" = "net9.0";
|
"9.0" = "net9.0";
|
||||||
"10.0" = "net10.0";
|
"10.0" = "net10.0";
|
||||||
|
"11.0" = "net11.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($version in $Versions)
|
foreach ($version in $Versions)
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ inputs:
|
|||||||
dotnet-channel:
|
dotnet-channel:
|
||||||
description: 'Optional channel for the installation. The possible values are: STS, LTS, A.B (e.g. 8.0), A.B.Cxx (e.g. 8.0.1xx, available since 5.0). To be used with "dotnet-version: latest".'
|
description: 'Optional channel for the installation. The possible values are: STS, LTS, A.B (e.g. 8.0), A.B.Cxx (e.g. 8.0.1xx, available since 5.0). To be used with "dotnet-version: latest".'
|
||||||
required: false
|
required: false
|
||||||
|
skip-lts-prepass:
|
||||||
|
description: 'Optional. When true, skips the LTS runtime pre-pass and installs only the requested dotnet-version. Default: false.'
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
global-json-file:
|
global-json-file:
|
||||||
description: 'Optional global.json location, if your global.json isn''t located in the root of the repo.'
|
description: 'Optional global.json location, if your global.json isn''t located in the root of the repo.'
|
||||||
required: false
|
required: false
|
||||||
@@ -39,6 +43,9 @@ inputs:
|
|||||||
architecture:
|
architecture:
|
||||||
description: 'Optional architecture for the .NET install. Supported values: x64, x86, arm64, amd64, arm, s390x, ppc64le, riscv64. If not set, the installer auto-detects the current system architecture.'
|
description: 'Optional architecture for the .NET install. Supported values: x64, x86, arm64, amd64, arm, s390x, ppc64le, riscv64. If not set, the installer auto-detects the current system architecture.'
|
||||||
required: false
|
required: false
|
||||||
|
check-latest:
|
||||||
|
description: 'Optional, defaults to true. When false, a locally installed SDK that satisfies the requested version is reused without any network calls, otherwise the latest matching version is installed online. Cross-architecture requests always install online. Falls back to the DOTNET_CHECK_LATEST environment variable when this input is not set.'
|
||||||
|
required: false
|
||||||
outputs:
|
outputs:
|
||||||
cache-hit:
|
cache-hit:
|
||||||
description: 'A boolean value to indicate if a cache was hit.'
|
description: 'A boolean value to indicate if a cache was hit.'
|
||||||
|
|||||||
Vendored
+5919
-2985
File diff suppressed because it is too large.
Load diff
Vendored
+6340
-6510
File diff suppressed because it is too large.
Load diff
Vendored
+72
-72
@@ -939,7 +939,7 @@ function Extract-Dotnet-Package-Tar([string]$TarPath, [string]$OutPath) {
|
|||||||
|
|
||||||
foreach ($dir in $versionedDirs.GetEnumerator()) {
|
foreach ($dir in $versionedDirs.GetEnumerator()) {
|
||||||
if ($dir.Value) {
|
if ($dir.Value) {
|
||||||
# This versioned directory already exists — exclude it from extraction
|
# This versioned directory already exists - exclude it from extraction
|
||||||
$pattern = $dir.Key + '*'
|
$pattern = $dir.Key + '*'
|
||||||
$excludeArgs += '--exclude'
|
$excludeArgs += '--exclude'
|
||||||
$excludeArgs += $pattern
|
$excludeArgs += $pattern
|
||||||
@@ -956,7 +956,7 @@ function Extract-Dotnet-Package-Tar([string]$TarPath, [string]$OutPath) {
|
|||||||
if ($normalizedEntry.EndsWith('/')) { continue }
|
if ($normalizedEntry.EndsWith('/')) { continue }
|
||||||
$match = [regex]::Match($normalizedEntry, $versionRegex)
|
$match = [regex]::Match($normalizedEntry, $versionRegex)
|
||||||
if (-not $match.Success) {
|
if (-not $match.Success) {
|
||||||
# Non-versioned file — exclude if it already exists locally
|
# Non-versioned file - exclude if it already exists locally
|
||||||
$localPath = Join-Path -Path $OutPath -ChildPath $normalizedEntry
|
$localPath = Join-Path -Path $OutPath -ChildPath $normalizedEntry
|
||||||
if (Test-Path $localPath) {
|
if (Test-Path $localPath) {
|
||||||
$excludeArgs += '--exclude'
|
$excludeArgs += '--exclude'
|
||||||
@@ -1487,8 +1487,8 @@ Say "Installation finished"
|
|||||||
# SIG # Begin signature block
|
# SIG # Begin signature block
|
||||||
# MIIncQYJKoZIhvcNAQcCoIInYjCCJ14CAQExDzANBglghkgBZQMEAgEFADB5Bgor
|
# MIIncQYJKoZIhvcNAQcCoIInYjCCJ14CAQExDzANBglghkgBZQMEAgEFADB5Bgor
|
||||||
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
|
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
|
||||||
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDmNI7+9b4lSWsX
|
# KX7zUQIBAAIBAAIBAAIBAAIB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DckX633E1y1EF32V18
|
||||||
# QY9hnsKSrJPg5a9Mc4YnGmPHxjCBmDCBgKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYD
|
# zQcrsgjzI9+3Le7mlvk2OebthjCBmDCBgKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYD
|
||||||
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
|
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
|
||||||
# b3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1w
|
# b3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1w
|
||||||
# IFBDQSAyMDEwAhMzAAACEKvN5BYY7zmwAAEAAAIQMCIEIC5b102d224evVIH68x9
|
# IFBDQSAyMDEwAhMzAAACGV6y2FR19LGNAAEAAAIZMCIEIDjz74g3CBfNc6GVJRjf
|
||||||
# lEf8Au5vChR0bDNP4SViDwl6MA0GCSqGSIb3DQEBCwUABIICAHMgBiQOozDAIR+S
|
# Y0YVIg76oCasifagFFulpBDbMA0GCSqGSIb3DQEBCwUABIICADak0YxE5whyHvYr
|
||||||
# O28IjquhCukrxIucbxjLUxu4ltpxavA+cedbwkdNPAMFAYEaLHeEYutciK6N5f4R
|
# Zukn9brxBTp9erdA6poINujmoiK5ZrTv6SZYaJbSI0HnDxbxp9QchY3BwpI19ix5
|
||||||
# VIJX/OSx2ZL6ac/xB5A/7rdoaHV7PK+F1y807INXMA2HPnJGDVbi7HD7nJp26Fuz
|
# +excveLH8i0oQWql3XyZcBDcwBi9sfFDv+yuJfd1CE27X8YxGy5OJeKCK9QoQiXs
|
||||||
# P2K3aGE3kK06C2jXsjdqWsAZv32k1daX+OqFGJdOsmmua/qlF0AMWTXL7rsBStOH
|
# b0MgT35WaxPxv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
# kJuzixuLkM8/Hhm7X6wRAwAqpA7P
|
||||||
# SIG # End signature block
|
# SIG # End signature block
|
||||||
Generated
+306
-209
@@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "setup-dotnet",
|
"name": "setup-dotnet",
|
||||||
"version": "6.0.0",
|
"version": "6.1.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "setup-dotnet",
|
"name": "setup-dotnet",
|
||||||
"version": "6.0.0",
|
"version": "6.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "^6.2.0",
|
"@actions/cache": "^6.3.0",
|
||||||
"@actions/core": "^3.0.1",
|
"@actions/core": "^3.0.1",
|
||||||
"@actions/exec": "^3.0.0",
|
"@actions/exec": "^3.0.0",
|
||||||
"@actions/github": "^9.1.1",
|
"@actions/github": "^9.1.1",
|
||||||
@@ -28,9 +28,9 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
||||||
"@typescript-eslint/parser": "^8.62.0",
|
"@typescript-eslint/parser": "^8.62.0",
|
||||||
"@vercel/ncc": "^0.44.0",
|
"@vercel/ncc": "^0.44.0",
|
||||||
"eslint": "^10.5.0",
|
"eslint": "^10.11.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-jest": "^29.15.2",
|
"eslint-plugin-jest": "^29.16.6",
|
||||||
"eslint-plugin-n": "^18.1.0",
|
"eslint-plugin-n": "^18.1.0",
|
||||||
"globals": "^17.7.0",
|
"globals": "^17.7.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
@@ -56,30 +56,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/cache": {
|
"node_modules/@actions/cache": {
|
||||||
"version": "6.2.0",
|
"version": "6.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-6.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-6.3.0.tgz",
|
||||||
"integrity": "sha512-Nv0xWRmbxfDbAn/70flO/F6tj2Nv4XTYMAsQHiDFSojCDfso/Zni+fRKa14ToI9hnmOW/rQcY1WYb6wsM7Pgwg==",
|
"integrity": "sha512-SJKaVMqTgetQgJF0wifi5N2+2mffCLy/D4w/3sJtRanBBGECdi1/OD0wswyLVmqEmPbYB/rVJk41Qn/xEbFjAw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^3.0.1",
|
"@actions/core": "^3.0.1",
|
||||||
"@actions/exec": "^3.0.0",
|
"@actions/exec": "^3.0.0",
|
||||||
"@actions/glob": "^0.6.1",
|
"@actions/glob": "^0.7.0",
|
||||||
"@actions/http-client": "^4.0.1",
|
"@actions/http-client": "^4.0.1",
|
||||||
"@actions/io": "^3.0.2",
|
"@actions/io": "^3.0.2",
|
||||||
"@azure/core-rest-pipeline": "^1.23.0",
|
"@azure/core-rest-pipeline": "~1.23.0",
|
||||||
"@azure/storage-blob": "^12.31.0",
|
"@azure/storage-blob": "~12.31.0",
|
||||||
"@protobuf-ts/runtime-rpc": "^2.11.1",
|
"@protobuf-ts/runtime-rpc": "^2.11.1",
|
||||||
"semver": "^7.7.4"
|
"semver": "^7.8.5"
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@actions/cache/node_modules/@actions/glob": {
|
|
||||||
"version": "0.6.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.6.1.tgz",
|
|
||||||
"integrity": "sha512-K4+2Ac5ILcf2ySdJCha+Pop9NcKjxqCL4xL4zI50dgB2PbXgC0+AcP011xfH4Of6b4QEJJg8dyZYv7zl4byTsw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@actions/core": "^3.0.0",
|
|
||||||
"minimatch": "^3.0.4"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/core": {
|
"node_modules/@actions/core": {
|
||||||
@@ -168,21 +158,21 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@azure/abort-controller": {
|
"node_modules/@azure/abort-controller": {
|
||||||
"version": "2.1.2",
|
"version": "2.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.2.0.tgz",
|
||||||
"integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==",
|
"integrity": "sha512-fNAjWnA/nZ2jz31kxR/AqRaUT8ewHBw/WuBIosK0moMy1C9e5ValbDfFdIxJzVOOYaYkV/b2F1S4H/aHiqfVQg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/core-auth": {
|
"node_modules/@azure/core-auth": {
|
||||||
"version": "1.10.1",
|
"version": "1.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.10.1.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.11.0.tgz",
|
||||||
"integrity": "sha512-ykRMW8PjVAn+RS6ww5cmK9U2CyH9p4Q88YJwvUslfuMmN98w/2rdGRLPqJYObapBCdzBVeDgYWdJnFPFb7qzpg==",
|
"integrity": "sha512-IUZydyTUkDnYdstOW9pFOOUQlBjAepK5teihDE3x6yxsPJs/hsAaaYpeGxdxrgtOiJbBKSjKW7MDk7AEhb4LRg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@azure/abort-controller": "^2.1.2",
|
"@azure/abort-controller": "^2.1.2",
|
||||||
@@ -190,13 +180,13 @@
|
|||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/core-client": {
|
"node_modules/@azure/core-client": {
|
||||||
"version": "1.10.2",
|
"version": "1.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/core-client/-/core-client-1.10.2.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/core-client/-/core-client-1.11.1.tgz",
|
||||||
"integrity": "sha512-1D2LpsU7y9xrqKjdIbsB7PlrRePw0xsVV8p+AKTlzITrWmscajryfJCdDJB/oGwvDI5HmRo04eMMADB67uwAwQ==",
|
"integrity": "sha512-2QygG2F76ZpMP2eMztiJvAiFMu71M9rDeU7vO/QKg5Css7MgM4frUOslFjhVjRhbGaCNPtz/S8M6y46/fFKVuQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@azure/abort-controller": "^2.1.2",
|
"@azure/abort-controller": "^2.1.2",
|
||||||
@@ -208,19 +198,19 @@
|
|||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/core-http-compat": {
|
"node_modules/@azure/core-http-compat": {
|
||||||
"version": "2.4.0",
|
"version": "2.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/core-http-compat/-/core-http-compat-2.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/core-http-compat/-/core-http-compat-2.5.0.tgz",
|
||||||
"integrity": "sha512-f1P96IB399YiN2ARYHP7EpZi3Bf3wH4SN2lGzrw7JVwm7bbsVYtf2iKSBwTywD2P62NOPZGHFSZi+6jjb75JuA==",
|
"integrity": "sha512-BoSmXPx2er1Ai+wKlDvj29jIQespCNBwEmKyZVHO2kEFsWbGjAjwMCGzug3DJM5/QYIV3vej0S1zcU5bq9fa8w==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@azure/abort-controller": "^2.1.2"
|
"@azure/abort-controller": "^2.1.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@azure/core-client": "^1.10.0",
|
"@azure/core-client": "^1.10.0",
|
||||||
@@ -243,21 +233,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/core-paging": {
|
"node_modules/@azure/core-paging": {
|
||||||
"version": "1.6.2",
|
"version": "1.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.6.2.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.7.0.tgz",
|
||||||
"integrity": "sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA==",
|
"integrity": "sha512-7GEAoIsaoBr6KELNRb8nypowCqvk8dnCHFCYg4XD4lOQGY2GqjQg5IhkRjyBFRO18CGSMq05PaNqSOE9GQro3g==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/core-rest-pipeline": {
|
"node_modules/@azure/core-rest-pipeline": {
|
||||||
"version": "1.24.0",
|
"version": "1.23.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.24.0.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.23.0.tgz",
|
||||||
"integrity": "sha512-PpLsoDQ3AMmKZ0VU+0GrmqMxgp/sExjlVm4R+nLWngeoEGAzOIPVifaxKGU5gMv+nWELUoHfvrolWD+ZS/nFJg==",
|
"integrity": "sha512-Evs1INHo+jUjwHi1T6SG6Ua/LHOQBCLuKEEE6efIpt4ZOoNonaT1kP32GoOcdNDbfqsD2445CPri3MubBy5DEQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@azure/abort-controller": "^2.1.2",
|
"@azure/abort-controller": "^2.1.2",
|
||||||
@@ -273,21 +263,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/core-tracing": {
|
"node_modules/@azure/core-tracing": {
|
||||||
"version": "1.3.1",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.4.0.tgz",
|
||||||
"integrity": "sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ==",
|
"integrity": "sha512-eGwxD0AtncrxeBM4tG8R55Pc3rdX1hNW2WibJAgYpCVA6E93mvvVH+LcssoVjOBrSKWS55yEIHsk0X8ctHmfOQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/core-util": {
|
"node_modules/@azure/core-util": {
|
||||||
"version": "1.13.1",
|
"version": "1.14.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.14.0.tgz",
|
||||||
"integrity": "sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==",
|
"integrity": "sha512-9n2pWK61veAuN0V20t9lOuoV4CFMdyAZ1ygZzvBGk/pBBJRib/PjL9PLXa/aI2CcPpyHfqVsxxqLCYl6uZlfDw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@azure/abort-controller": "^2.1.2",
|
"@azure/abort-controller": "^2.1.2",
|
||||||
@@ -295,39 +285,39 @@
|
|||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/core-xml": {
|
"node_modules/@azure/core-xml": {
|
||||||
"version": "1.5.1",
|
"version": "1.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/core-xml/-/core-xml-1.5.1.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/core-xml/-/core-xml-1.6.0.tgz",
|
||||||
"integrity": "sha512-xcNRHqCoSp4AunOALEae6A8f3qATb83gSrm31Iqb01OzblvC3/W/bfXozcq78EzIdzZzuH1bZ2NvRR0TdX709w==",
|
"integrity": "sha512-e7lX/dk//F6Qf7BB6PTY4+p2yuOQtyOeHGyapYHNwqSp2OnYpwQt49A/Nin2XmKBQ69pwagR4k/lQBq8lbHQkA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fast-xml-parser": "^5.5.9",
|
"fast-xml-parser": "^5.5.9",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/logger": {
|
"node_modules/@azure/logger": {
|
||||||
"version": "1.3.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.4.0.tgz",
|
||||||
"integrity": "sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==",
|
"integrity": "sha512-rbAE25KUfjU/s3XHUdJgceoCP5dEOpMx85J04kF+QMdta73XkuG9JGHHinch+XIoKpBdqljin+KqURpJriSzLA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typespec/ts-http-runtime": "^0.3.0",
|
"@typespec/ts-http-runtime": "^0.3.0",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/storage-blob": {
|
"node_modules/@azure/storage-blob": {
|
||||||
"version": "12.32.0",
|
"version": "12.31.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.32.0.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.31.0.tgz",
|
||||||
"integrity": "sha512-80LzSNnFQye2LCCBFghAJS6jJQJ7N4bfgZ6qDMgVGRtugZ7TLDKQZ2hczMigmZH3jAcMRdma/IygsC5+0gT7Tw==",
|
"integrity": "sha512-DBgNv10aCSxopt92DkTDD0o9xScXeBqPKGmR50FPZQaEcH4JLQ+GEOGEDv19V5BMkB7kxr+m4h6il/cCDPvmHg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@azure/abort-controller": "^2.1.2",
|
"@azure/abort-controller": "^2.1.2",
|
||||||
@@ -341,7 +331,7 @@
|
|||||||
"@azure/core-util": "^1.11.0",
|
"@azure/core-util": "^1.11.0",
|
||||||
"@azure/core-xml": "^1.4.5",
|
"@azure/core-xml": "^1.4.5",
|
||||||
"@azure/logger": "^1.1.4",
|
"@azure/logger": "^1.1.4",
|
||||||
"@azure/storage-common": "^12.4.0",
|
"@azure/storage-common": "^12.3.0",
|
||||||
"events": "^3.0.0",
|
"events": "^3.0.0",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
@@ -350,14 +340,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@azure/storage-common": {
|
"node_modules/@azure/storage-common": {
|
||||||
"version": "12.4.1",
|
"version": "12.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@azure/storage-common/-/storage-common-12.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/@azure/storage-common/-/storage-common-12.5.0.tgz",
|
||||||
"integrity": "sha512-t14unw/WofGDUi7TKJrsyXyPsN+NLgRm7hMaq0llxNmTIzt7f257+6LE6FKIJPh88zLj6M7LPvzve0fEYg/L3A==",
|
"integrity": "sha512-bttzuhQiCIwrkzjPDA+AtAR7dg19L/CC6ztcqJ5LfvWpXuys9mHp0UQ0udYnoUvv9SCT9KTR5kqFvFr0e6k0lQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@azure/abort-controller": "^2.1.2",
|
"@azure/abort-controller": "^2.1.2",
|
||||||
"@azure/core-auth": "^1.9.0",
|
"@azure/core-auth": "^1.9.0",
|
||||||
"@azure/core-http-compat": "^2.2.0",
|
"@azure/core-http-compat": "^2.4.0",
|
||||||
"@azure/core-rest-pipeline": "^1.24.0",
|
"@azure/core-rest-pipeline": "^1.24.0",
|
||||||
"@azure/core-tracing": "^1.2.0",
|
"@azure/core-tracing": "^1.2.0",
|
||||||
"@azure/core-util": "^1.11.0",
|
"@azure/core-util": "^1.11.0",
|
||||||
@@ -366,7 +356,25 @@
|
|||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@azure/storage-common/node_modules/@azure/core-rest-pipeline": {
|
||||||
|
"version": "1.25.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.25.0.tgz",
|
||||||
|
"integrity": "sha512-bMs8ekJLjX8wPV+9IPBges1SLPyuDtE9g5gLDWOpxzKcoOFQnpLGkbcT1tdw3FaAmDS1gnPmMmJ6y/T5B96kIA==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@azure/abort-controller": "^2.1.2",
|
||||||
|
"@azure/core-auth": "^1.10.0",
|
||||||
|
"@azure/core-tracing": "^1.3.0",
|
||||||
|
"@azure/core-util": "^1.13.0",
|
||||||
|
"@azure/logger": "^1.3.0",
|
||||||
|
"@typespec/ts-http-runtime": "^0.3.4",
|
||||||
|
"tslib": "^2.6.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/code-frame": {
|
"node_modules/@babel/code-frame": {
|
||||||
@@ -884,6 +892,30 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/@cacheable/memory": {
|
||||||
|
"version": "2.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz",
|
||||||
|
"integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@cacheable/utils": "^2.5.0",
|
||||||
|
"@keyv/bigmap": "^1.3.1",
|
||||||
|
"hookified": "^1.15.1",
|
||||||
|
"keyv": "^5.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@cacheable/utils": {
|
||||||
|
"version": "2.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz",
|
||||||
|
"integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"hashery": "^1.5.1",
|
||||||
|
"keyv": "^5.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@emnapi/core": {
|
"node_modules/@emnapi/core": {
|
||||||
"version": "1.10.0",
|
"version": "1.10.0",
|
||||||
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",
|
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",
|
||||||
@@ -979,9 +1011,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/config-helpers": {
|
"node_modules/@eslint/config-helpers": {
|
||||||
"version": "0.6.0",
|
"version": "0.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz",
|
||||||
"integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==",
|
"integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -1036,9 +1068,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/plugin-kit": {
|
"node_modules/@eslint/plugin-kit": {
|
||||||
"version": "0.7.2",
|
"version": "0.7.3",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.3.tgz",
|
||||||
"integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==",
|
"integrity": "sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -1614,6 +1646,30 @@
|
|||||||
"@jridgewell/sourcemap-codec": "^1.4.14"
|
"@jridgewell/sourcemap-codec": "^1.4.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@keyv/bigmap": {
|
||||||
|
"version": "1.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz",
|
||||||
|
"integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"hashery": "^1.4.0",
|
||||||
|
"hookified": "^1.15.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 18"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"keyv": "^5.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@keyv/serialize": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/@napi-rs/wasm-runtime": {
|
"node_modules/@napi-rs/wasm-runtime": {
|
||||||
"version": "1.1.5",
|
"version": "1.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.5.tgz",
|
||||||
@@ -1634,9 +1690,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@nodable/entities": {
|
"node_modules/@nodable/entities": {
|
||||||
"version": "2.2.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-2.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-3.0.0.tgz",
|
||||||
"integrity": "sha512-9uGyhaQavEUMC8AIddIjau4NsnsXhou+j5sBAGojCM1oxmQpVKTWR/9JxABD6UAv12vpIms55fPZKFQEhG6uBg==",
|
"integrity": "sha512-8L9xFeTYKhm49xfIypoe2W5wV1m/3Z58kT+7kR9A8OyFxcPduI4VmxaUMQyKYrRjUoLLSXv6EKKID5Tvj9cUVw==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
@@ -2241,9 +2297,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typespec/ts-http-runtime": {
|
"node_modules/@typespec/ts-http-runtime": {
|
||||||
"version": "0.3.6",
|
"version": "0.3.9",
|
||||||
"resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.6.tgz",
|
"resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.9.tgz",
|
||||||
"integrity": "sha512-jIXhD0eWQ1JA6ln/5Dltyx22UxWNrw0hZmhy2rlv6m6KgF7kplHx3g0fzi09lNmTJQRR91OlemYp3xFnvDK9og==",
|
"integrity": "sha512-edSdeAqkdxBVzA1yL1LrLCml1YjyCVvPMtMqJpbF+6K609tHe8V6sQUzFQSGcYNhcuhOceZtjvN32+mpIth30A==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"http-proxy-agent": "^7.0.0",
|
"http-proxy-agent": "^7.0.0",
|
||||||
@@ -2251,7 +2307,7 @@
|
|||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@ungap/structured-clone": {
|
"node_modules/@ungap/structured-clone": {
|
||||||
@@ -2367,9 +2423,6 @@
|
|||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"glibc"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2384,9 +2437,6 @@
|
|||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"musl"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2401,9 +2451,6 @@
|
|||||||
"loong64"
|
"loong64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"glibc"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2418,9 +2465,6 @@
|
|||||||
"loong64"
|
"loong64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"musl"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2435,9 +2479,6 @@
|
|||||||
"ppc64"
|
"ppc64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"glibc"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2452,9 +2493,6 @@
|
|||||||
"riscv64"
|
"riscv64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"glibc"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2469,9 +2507,6 @@
|
|||||||
"riscv64"
|
"riscv64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"musl"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2486,9 +2521,6 @@
|
|||||||
"s390x"
|
"s390x"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"glibc"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2503,9 +2535,6 @@
|
|||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"glibc"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2520,9 +2549,6 @@
|
|||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"libc": [
|
|
||||||
"musl"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
@@ -2851,9 +2877,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/baseline-browser-mapping": {
|
"node_modules/baseline-browser-mapping": {
|
||||||
"version": "2.10.38",
|
"version": "2.11.20",
|
||||||
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.38.tgz",
|
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.20.tgz",
|
||||||
"integrity": "sha512-31/02mVB4yuQU6adKk5SlY6m+mxDwUq5KZkyYgnLrrKl7TEm1+3PyDtDBz2kOv/wxZz41GHsvV1A/u6RmiyBvw==",
|
"integrity": "sha512-H0ulySigv6icDJ1F7SjtdCD6PrhTpdYCmP0CactWy1+ekh0AFd0o1Wn5T8b+hnTmdBx19u9yhL6wvCylXMY7zw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -2870,21 +2896,21 @@
|
|||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
},
|
},
|
||||||
"node_modules/brace-expansion": {
|
"node_modules/brace-expansion": {
|
||||||
"version": "5.0.6",
|
"version": "5.0.12",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",
|
||||||
"integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
|
"integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"balanced-match": "^4.0.2"
|
"balanced-match": "^4.0.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "18 || 20 || >=22"
|
"node": "20 || >=22"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/browserslist": {
|
"node_modules/browserslist": {
|
||||||
"version": "4.28.2",
|
"version": "4.28.8",
|
||||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz",
|
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.8.tgz",
|
||||||
"integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==",
|
"integrity": "sha512-V2NpofLblG64mfOtSgDhOJESZEGogzDMBv/q+W6oc4LXWP/q75eOXoOaaOu1EOadB9U4Bwx/e0yzbvwKH8zalA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -2902,11 +2928,11 @@
|
|||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"baseline-browser-mapping": "^2.10.12",
|
"baseline-browser-mapping": "^2.11.12",
|
||||||
"caniuse-lite": "^1.0.30001782",
|
"caniuse-lite": "^1.0.30001809",
|
||||||
"electron-to-chromium": "^1.5.328",
|
"electron-to-chromium": "^1.5.402",
|
||||||
"node-releases": "^2.0.36",
|
"node-releases": "^2.0.53",
|
||||||
"update-browserslist-db": "^1.2.3"
|
"update-browserslist-db": "^1.3.0"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"browserslist": "cli.js"
|
"browserslist": "cli.js"
|
||||||
@@ -2943,6 +2969,20 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/cacheable": {
|
||||||
|
"version": "2.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz",
|
||||||
|
"integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@cacheable/memory": "^2.2.0",
|
||||||
|
"@cacheable/utils": "^2.5.0",
|
||||||
|
"hookified": "^1.15.0",
|
||||||
|
"keyv": "^5.6.0",
|
||||||
|
"qified": "^0.10.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/callsites": {
|
"node_modules/callsites": {
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
|
||||||
@@ -2964,9 +3004,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001799",
|
"version": "1.0.30001810",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001799.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz",
|
||||||
"integrity": "sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==",
|
"integrity": "sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -3151,6 +3191,7 @@
|
|||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||||
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
|
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
|
||||||
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/content-type": {
|
"node_modules/content-type": {
|
||||||
@@ -3252,9 +3293,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/electron-to-chromium": {
|
"node_modules/electron-to-chromium": {
|
||||||
"version": "1.5.375",
|
"version": "1.5.420",
|
||||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.375.tgz",
|
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.420.tgz",
|
||||||
"integrity": "sha512-ZWP5eB4BVPW/ZYo9252hQZHZ5XavtsTgpbhcmMmRwymavC5AsLWQWBPaKMeNd2LW0KGby5HPXvj7+sr4ta5j/Q==",
|
"integrity": "sha512-2yD6XreGusOfNV+dUcvipJEXc3n/n7fgr7996aszTG+YY5E4mqM4tOq/3uhP129cazL9YHbVWSpc79ePotWtPA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
@@ -3325,9 +3366,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint": {
|
"node_modules/eslint": {
|
||||||
"version": "10.5.0",
|
"version": "10.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.11.0.tgz",
|
||||||
"integrity": "sha512-1y+7C+vi12bUK1IpZeaV3gsH9fHLBmPvYmPx42pvT/E9yG0IC8g3PUZZgp0+JLJl7ZDK0flc2gc+Aw9dpCvIsQ==",
|
"integrity": "sha512-P7a6UEEqb9G95MYAtqkmsTbVXIYyzIfl6NGOIJk162PaahFxFyeGcrlXYFSiagECg4sEm8IseJdZBKR3rx6MsQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
@@ -3337,9 +3378,9 @@
|
|||||||
"@eslint-community/eslint-utils": "^4.8.0",
|
"@eslint-community/eslint-utils": "^4.8.0",
|
||||||
"@eslint-community/regexpp": "^4.12.2",
|
"@eslint-community/regexpp": "^4.12.2",
|
||||||
"@eslint/config-array": "^0.23.5",
|
"@eslint/config-array": "^0.23.5",
|
||||||
"@eslint/config-helpers": "^0.6.0",
|
"@eslint/config-helpers": "^0.7.0",
|
||||||
"@eslint/core": "^1.2.1",
|
"@eslint/core": "^1.2.1",
|
||||||
"@eslint/plugin-kit": "^0.7.2",
|
"@eslint/plugin-kit": "^0.7.3",
|
||||||
"@humanfs/node": "^0.16.6",
|
"@humanfs/node": "^0.16.6",
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@humanwhocodes/retry": "^0.4.2",
|
"@humanwhocodes/retry": "^0.4.2",
|
||||||
@@ -3354,14 +3395,14 @@
|
|||||||
"esquery": "^1.7.0",
|
"esquery": "^1.7.0",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"file-entry-cache": "^8.0.0",
|
"file-entry-cache": "11.1.5 || >11.1.6 <12",
|
||||||
"find-up": "^5.0.0",
|
"find-up": "^5.0.0",
|
||||||
"glob-parent": "^6.0.2",
|
"glob-parent": "^6.0.2",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"imurmurhash": "^0.1.4",
|
"imurmurhash": "^0.1.4",
|
||||||
"is-glob": "^4.0.0",
|
"is-glob": "^4.0.0",
|
||||||
"json-stable-stringify-without-jsonify": "^1.0.1",
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
||||||
"minimatch": "^10.2.4",
|
"minimatch": "^10.2.5",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
"optionator": "^0.9.3"
|
"optionator": "^0.9.3"
|
||||||
},
|
},
|
||||||
@@ -3438,9 +3479,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-jest": {
|
"node_modules/eslint-plugin-jest": {
|
||||||
"version": "29.15.2",
|
"version": "29.16.6",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-29.15.2.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-29.16.6.tgz",
|
||||||
"integrity": "sha512-kEN4r9RZl1xcsb4arGq89LrcVdOUFII/JSCwtTPJyv16mDwmPrcuEQwpxqZHeINvcsd7oK5O/rhdGlxFRaZwvQ==",
|
"integrity": "sha512-q8TVr0rlNvUD0XnafGWkwtPeX+tTl2llP86EDl3sJtwWrQA/JT9SIu2hLLZbhhX6fT5SDE4O0gIKyZUujKnkYA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -3453,7 +3494,7 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
||||||
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
||||||
"jest": "*",
|
"jest": "*",
|
||||||
"typescript": ">=4.8.4 <7.0.0"
|
"typescript": ">=4.8.4 <8.0.0"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
"@typescript-eslint/eslint-plugin": {
|
"@typescript-eslint/eslint-plugin": {
|
||||||
@@ -3764,9 +3805,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/fast-xml-parser": {
|
"node_modules/fast-xml-parser": {
|
||||||
"version": "5.9.3",
|
"version": "5.10.1",
|
||||||
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.9.3.tgz",
|
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.10.1.tgz",
|
||||||
"integrity": "sha512-brCNCeScma/kqa54J4PIDriSSSLssRkuYaUCpvHJulGc3HGI/xxKUCTDcYkAdqJsyb//ydpbxecjC3hB9+tb/g==",
|
"integrity": "sha512-IEMIf7298kXuZSRFoGfMYrl7is8LpavODgbNz1cwIudv7KwVFnuU+UsMporfq6PD6aXSlawZlARiA3UywCTfMw==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
@@ -3775,17 +3816,32 @@
|
|||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nodable/entities": "^2.2.0",
|
"@nodable/entities": "^3.0.0",
|
||||||
"fast-xml-builder": "^1.2.0",
|
"fast-xml-builder": "^1.2.0",
|
||||||
"is-unsafe": "^1.0.1",
|
"is-unsafe": "^2.0.0",
|
||||||
"path-expression-matcher": "^1.5.0",
|
"path-expression-matcher": "^1.6.2",
|
||||||
"strnum": "^2.4.1",
|
"strnum": "^2.4.1",
|
||||||
"xml-naming": "^0.1.0"
|
"xml-naming": "^0.3.0"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"fxparser": "src/cli/cli.js"
|
"fxparser": "src/cli/cli.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/fast-xml-parser/node_modules/xml-naming": {
|
||||||
|
"version": "0.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/xml-naming/-/xml-naming-0.3.0.tgz",
|
||||||
|
"integrity": "sha512-ghig2TBE/H11aOVgmahA3MhimvkBr6JIYknH/Dhdk10nXwdbIqBJsbfMxpvFPG8bAw77gN29aQWvKpmVoPlvPQ==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/NaturalIntelligence"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/fb-watchman": {
|
"node_modules/fb-watchman": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
|
||||||
@@ -3796,16 +3852,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/file-entry-cache": {
|
"node_modules/file-entry-cache": {
|
||||||
"version": "8.0.0",
|
"version": "11.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz",
|
||||||
"integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
|
"integrity": "sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"flat-cache": "^4.0.0"
|
"flat-cache": "^6.1.23"
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16.0.0"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/find-up": {
|
"node_modules/find-up": {
|
||||||
@@ -3825,23 +3878,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/flat-cache": {
|
"node_modules/flat-cache": {
|
||||||
"version": "4.0.1",
|
"version": "6.1.23",
|
||||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz",
|
||||||
"integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
|
"integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"flatted": "^3.2.9",
|
"cacheable": "^2.5.0",
|
||||||
"keyv": "^4.5.4"
|
"flatted": "^3.4.2",
|
||||||
},
|
"hookified": "^1.15.0"
|
||||||
"engines": {
|
|
||||||
"node": ">=16"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/flatted": {
|
"node_modules/flatted": {
|
||||||
"version": "3.4.2",
|
"version": "3.4.4",
|
||||||
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
|
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz",
|
||||||
"integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==",
|
"integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
@@ -3993,9 +4044,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/glob/node_modules/brace-expansion": {
|
"node_modules/glob/node_modules/brace-expansion": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.7",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz",
|
||||||
"integrity": "sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==",
|
"integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -4045,13 +4096,13 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/handlebars": {
|
"node_modules/handlebars": {
|
||||||
"version": "4.7.9",
|
"version": "4.7.10",
|
||||||
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz",
|
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.10.tgz",
|
||||||
"integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==",
|
"integrity": "sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"minimist": "^1.2.5",
|
"minimist": "^1.2.8",
|
||||||
"neo-async": "^2.6.2",
|
"neo-async": "^2.6.2",
|
||||||
"source-map": "^0.6.1",
|
"source-map": "^0.6.1",
|
||||||
"wordwrap": "^1.0.0"
|
"wordwrap": "^1.0.0"
|
||||||
@@ -4066,6 +4117,16 @@
|
|||||||
"uglify-js": "^3.1.4"
|
"uglify-js": "^3.1.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/handlebars/node_modules/minimist": {
|
||||||
|
"version": "1.2.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
|
||||||
|
"integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/has-flag": {
|
"node_modules/has-flag": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||||
@@ -4075,6 +4136,26 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/hashery": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz",
|
||||||
|
"integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"hookified": "^1.15.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/hookified": {
|
||||||
|
"version": "1.15.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz",
|
||||||
|
"integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/html-escaper": {
|
"node_modules/html-escaper": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
|
||||||
@@ -4254,9 +4335,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/is-unsafe": {
|
"node_modules/is-unsafe": {
|
||||||
"version": "1.0.1",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/is-unsafe/-/is-unsafe-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/is-unsafe/-/is-unsafe-2.0.0.tgz",
|
||||||
"integrity": "sha512-CLK2+VdgERgD96EYm5lUQssZYlRg2tkZnbsxZoacmSiRxiFJ4Nk4SzjCl+Ur+v3kXIY9dTIdb3IH22y1mZ56LA==",
|
"integrity": "sha512-2LdV822R+wmI86unXA93WCFpL6g+av8ynWk0nrHyJqGop5VoocYsSLFgN8jrfalT6iGeLNM4KXuVSsULP53kEA==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
@@ -4984,9 +5065,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/js-yaml": {
|
"node_modules/js-yaml": {
|
||||||
"version": "3.15.0",
|
"version": "3.15.2",
|
||||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.0.tgz",
|
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz",
|
||||||
"integrity": "sha512-ttBQIIQPDeLjpPOohtUdXuXUVoA2uIB6fEH9HyJ7234s5mBJ5wTx20njxplLZQgLaOfpmPQA7X2t5AX6tIPbog==",
|
"integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -5010,13 +5091,6 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/json-buffer": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/json-parse-even-better-errors": {
|
"node_modules/json-parse-even-better-errors": {
|
||||||
"version": "2.3.1",
|
"version": "2.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
|
||||||
@@ -5055,13 +5129,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/keyv": {
|
"node_modules/keyv": {
|
||||||
"version": "4.5.4",
|
"version": "5.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
|
"resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz",
|
||||||
"integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
|
"integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"json-buffer": "3.0.1"
|
"@keyv/serialize": "^1.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/leven": {
|
"node_modules/leven": {
|
||||||
@@ -5176,6 +5250,7 @@
|
|||||||
"version": "3.1.5",
|
"version": "3.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
||||||
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
||||||
|
"dev": true,
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"brace-expansion": "^1.1.7"
|
"brace-expansion": "^1.1.7"
|
||||||
@@ -5188,12 +5263,14 @@
|
|||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
||||||
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/minimatch/node_modules/brace-expansion": {
|
"node_modules/minimatch/node_modules/brace-expansion": {
|
||||||
"version": "1.1.15",
|
"version": "1.1.21",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",
|
||||||
"integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
|
"integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==",
|
||||||
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"balanced-match": "^1.0.0",
|
"balanced-match": "^1.0.0",
|
||||||
@@ -5258,9 +5335,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/node-releases": {
|
"node_modules/node-releases": {
|
||||||
"version": "2.0.48",
|
"version": "2.0.54",
|
||||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.48.tgz",
|
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.54.tgz",
|
||||||
"integrity": "sha512-1uz8041X6LoI6ZSdZacM9lVY28vuzDlSKitnpbSNK0RfKoIJkX29NBPVEFXhnuSuEOA9Ww0xnPJ+ILWbGAv8DA==",
|
"integrity": "sha512-YHs7BmmcsdAI5Ozuf8JZo6PT0mv2GIWC9vMfvUC3dp65M8hn7Ux8CPL+2oBI7juNuj9d0ndhTcznq2ODBps9cQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -5407,9 +5484,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/path-expression-matcher": {
|
"node_modules/path-expression-matcher": {
|
||||||
"version": "1.5.0",
|
"version": "1.6.2",
|
||||||
"resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.6.2.tgz",
|
||||||
"integrity": "sha512-cbrerZV+6rvdQrrD+iGMcZFEiiSrbv9Tfdkvnusy6y0x0GKBXREFg/Y65GhIfm0tnLntThhzCnfKwp1WRjeCyQ==",
|
"integrity": "sha512-enSlaiat05iasnzmgNxRj8reFdj3puY2QpNgP1aPIaVfT6nn9ICuPoFlKHk8EN22HcwewshO+mN2DGbkCEOtqQ==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
@@ -5644,6 +5721,26 @@
|
|||||||
],
|
],
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/qified": {
|
||||||
|
"version": "0.10.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz",
|
||||||
|
"integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"hookified": "^2.1.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/qified/node_modules/hookified": {
|
||||||
|
"version": "2.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz",
|
||||||
|
"integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/react-is-18": {
|
"node_modules/react-is-18": {
|
||||||
"name": "react-is",
|
"name": "react-is",
|
||||||
"version": "18.3.1",
|
"version": "18.3.1",
|
||||||
@@ -6281,9 +6378,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/undici": {
|
"node_modules/undici": {
|
||||||
"version": "6.27.0",
|
"version": "6.29.1",
|
||||||
"resolved": "https://registry.npmjs.org/undici/-/undici-6.27.0.tgz",
|
"resolved": "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz",
|
||||||
"integrity": "sha512-YmfV3YnEDzXRC5lZ2jWtWWHKGUm1zIt8AhesR1tens+HTNv+YZlN/dp6G727LOvMJ8xjP9Be7Y2Sdr96LDm+pg==",
|
"integrity": "sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17"
|
"node": ">=18.17"
|
||||||
@@ -6341,9 +6438,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/update-browserslist-db": {
|
"node_modules/update-browserslist-db": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.2",
|
||||||
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.2.tgz",
|
||||||
"integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
|
"integrity": "sha512-UQ+MSxlhRm1bzjhU+DcuXfjFO1FzNtqhK5+9Yvlp90ItDLk5vT932A0rFu619nf7RVS+Y/VeaUW1jaRDqZ8VJw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|||||||
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "setup-dotnet",
|
"name": "setup-dotnet",
|
||||||
"version": "6.0.0",
|
"version": "6.1.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "setup dotnet action",
|
"description": "setup dotnet action",
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
"author": "GitHub",
|
"author": "GitHub",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "^6.2.0",
|
"@actions/cache": "^6.3.0",
|
||||||
"@actions/core": "^3.0.1",
|
"@actions/core": "^3.0.1",
|
||||||
"@actions/exec": "^3.0.0",
|
"@actions/exec": "^3.0.0",
|
||||||
"@actions/github": "^9.1.1",
|
"@actions/github": "^9.1.1",
|
||||||
@@ -49,9 +49,9 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
||||||
"@typescript-eslint/parser": "^8.62.0",
|
"@typescript-eslint/parser": "^8.62.0",
|
||||||
"@vercel/ncc": "^0.44.0",
|
"@vercel/ncc": "^0.44.0",
|
||||||
"eslint": "^10.5.0",
|
"eslint": "^10.11.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-jest": "^29.15.2",
|
"eslint-plugin-jest": "^29.16.6",
|
||||||
"eslint-plugin-n": "^18.1.0",
|
"eslint-plugin-n": "^18.1.0",
|
||||||
"globals": "^17.7.0",
|
"globals": "^17.7.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
|
|||||||
+367
-50
@@ -3,7 +3,13 @@ import * as core from '@actions/core';
|
|||||||
import * as exec from '@actions/exec';
|
import * as exec from '@actions/exec';
|
||||||
import * as io from '@actions/io';
|
import * as io from '@actions/io';
|
||||||
import * as hc from '@actions/http-client';
|
import * as hc from '@actions/http-client';
|
||||||
import {chmodSync} from 'fs';
|
import {
|
||||||
|
accessSync,
|
||||||
|
chmodSync,
|
||||||
|
constants as fsConstants,
|
||||||
|
readdirSync,
|
||||||
|
statSync
|
||||||
|
} from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import {fileURLToPath} from 'url';
|
import {fileURLToPath} from 'url';
|
||||||
import os from 'os';
|
import os from 'os';
|
||||||
@@ -29,6 +35,22 @@ interface ReleaseIndexResponse {
|
|||||||
|
|
||||||
const QUALITY_INPUT_MINIMAL_MAJOR_TAG = 6;
|
const QUALITY_INPUT_MINIMAL_MAJOR_TAG = 6;
|
||||||
const LATEST_PATCH_SYNTAX_MINIMAL_MAJOR_TAG = 5;
|
const LATEST_PATCH_SYNTAX_MINIMAL_MAJOR_TAG = 5;
|
||||||
|
|
||||||
|
function channelForMajor(major: string): string {
|
||||||
|
// Starting with .NET 5, the minor version is always zero.
|
||||||
|
// Hardcode the earlier versions because they will not get new releases.
|
||||||
|
switch (major) {
|
||||||
|
case '1':
|
||||||
|
return '1.1';
|
||||||
|
case '2':
|
||||||
|
return '2.2';
|
||||||
|
case '3':
|
||||||
|
return '3.1';
|
||||||
|
default:
|
||||||
|
return `${major}.0`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export class DotnetVersionResolver {
|
export class DotnetVersionResolver {
|
||||||
private inputVersion: string;
|
private inputVersion: string;
|
||||||
private resolvedArgument: DotnetVersion;
|
private resolvedArgument: DotnetVersion;
|
||||||
@@ -126,22 +148,7 @@ export class DotnetVersionResolver {
|
|||||||
} else if (this.isNumericTag(major) && this.isNumericTag(minor)) {
|
} else if (this.isNumericTag(major) && this.isNumericTag(minor)) {
|
||||||
this.resolvedArgument.value = `${major}.${minor}`;
|
this.resolvedArgument.value = `${major}.${minor}`;
|
||||||
} else if (this.isNumericTag(major)) {
|
} else if (this.isNumericTag(major)) {
|
||||||
// Starting with .NET 5, the minor version is always zero.
|
this.resolvedArgument.value = channelForMajor(major);
|
||||||
// Hardcode the earlier versions because they will not get new releases.
|
|
||||||
switch (major) {
|
|
||||||
case '1':
|
|
||||||
this.resolvedArgument.value = '1.1';
|
|
||||||
break;
|
|
||||||
case '2':
|
|
||||||
this.resolvedArgument.value = '2.2';
|
|
||||||
break;
|
|
||||||
case '3':
|
|
||||||
this.resolvedArgument.value = '3.1';
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
this.resolvedArgument.value = `${major}.0`;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
// If "dotnet-version" is specified as *, x or X resolve latest version of .NET explicitly from LTS channel. The version argument will default to "latest" by install-dotnet script.
|
// If "dotnet-version" is specified as *, x or X resolve latest version of .NET explicitly from LTS channel. The version argument will default to "latest" by install-dotnet script.
|
||||||
this.resolvedArgument.value = 'LTS';
|
this.resolvedArgument.value = 'LTS';
|
||||||
@@ -377,7 +384,32 @@ export function normalizeArch(arch: string): string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function isFile(filePath: string): boolean {
|
||||||
|
try {
|
||||||
|
return statSync(filePath).isFile();
|
||||||
|
} catch {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function isExecutableFile(filePath: string): boolean {
|
||||||
|
if (!isFile(filePath)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (IS_WINDOWS) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
accessSync(filePath, fsConstants.X_OK);
|
||||||
|
return true;
|
||||||
|
} catch {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export class DotnetCoreInstaller {
|
export class DotnetCoreInstaller {
|
||||||
|
private static readonly FeatureBandSyntax = /^(\d+)\.(\d+)\.(\d)xx$/;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
DotnetInstallDir.setEnvironmentVariable();
|
DotnetInstallDir.setEnvironmentVariable();
|
||||||
}
|
}
|
||||||
@@ -386,10 +418,292 @@ export class DotnetCoreInstaller {
|
|||||||
private version: string,
|
private version: string,
|
||||||
private quality: QualityOptions,
|
private quality: QualityOptions,
|
||||||
private architecture?: string,
|
private architecture?: string,
|
||||||
private dotnetChannel?: string
|
private dotnetChannel?: string,
|
||||||
) {}
|
private checkLatest: boolean = true,
|
||||||
|
private minimumVersion?: string,
|
||||||
|
private rollForward?: string,
|
||||||
|
private skipLtsPrepass: boolean = false
|
||||||
|
) {
|
||||||
|
this.version = version.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
private getInstalledSdkVersions(): string[] {
|
||||||
|
const sdkDir = path.join(DotnetInstallDir.dirPath, 'sdk');
|
||||||
|
try {
|
||||||
|
const versions = readdirSync(sdkDir, {withFileTypes: true})
|
||||||
|
.filter(entry => entry.isDirectory() || entry.isSymbolicLink())
|
||||||
|
.map(entry => entry.name)
|
||||||
|
.filter(name => semver.valid(name) !== null)
|
||||||
|
.filter(name => isFile(path.join(sdkDir, name, 'dotnet.dll')));
|
||||||
|
core.debug(
|
||||||
|
`Locally installed .NET SDKs in '${sdkDir}': ${
|
||||||
|
versions.join(', ') || '<none>'
|
||||||
|
}`
|
||||||
|
);
|
||||||
|
return versions;
|
||||||
|
} catch {
|
||||||
|
core.debug(`Unable to read the SDK directory '${sdkDir}'.`);
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private hasDotnetMuxer(): boolean {
|
||||||
|
return isExecutableFile(
|
||||||
|
path.join(DotnetInstallDir.dirPath, IS_WINDOWS ? 'dotnet.exe' : 'dotnet')
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
private qualityApplies(): boolean {
|
||||||
|
if (this.version.toLowerCase() === 'latest') {
|
||||||
|
const major = (this.dotnetChannel || '').trim().match(/^(\d+)/)?.[1];
|
||||||
|
return major ? Number(major) >= QUALITY_INPUT_MINIMAL_MAJOR_TAG : true;
|
||||||
|
}
|
||||||
|
if (semver.valid(this.version)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
const major = this.version.match(/^(\d+)/)?.[1];
|
||||||
|
return major ? Number(major) >= QUALITY_INPUT_MINIMAL_MAJOR_TAG : false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private findByScope(
|
||||||
|
candidates: string[],
|
||||||
|
major: string,
|
||||||
|
minor: string,
|
||||||
|
band?: string
|
||||||
|
): string | null {
|
||||||
|
return (
|
||||||
|
candidates.find(version => {
|
||||||
|
const parsed = semver.parse(version);
|
||||||
|
return (
|
||||||
|
parsed &&
|
||||||
|
parsed.major === Number(major) &&
|
||||||
|
parsed.minor === Number(minor) &&
|
||||||
|
(band === undefined ||
|
||||||
|
Math.floor(parsed.patch / 100) === Number(band))
|
||||||
|
);
|
||||||
|
}) ?? null
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static isInRollForwardScope(
|
||||||
|
version: string,
|
||||||
|
policy: string,
|
||||||
|
declared: semver.SemVer
|
||||||
|
): boolean {
|
||||||
|
const parsed = semver.parse(version);
|
||||||
|
if (!parsed) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
switch (policy) {
|
||||||
|
case 'patch':
|
||||||
|
case 'latestPatch':
|
||||||
|
return (
|
||||||
|
parsed.major === declared.major &&
|
||||||
|
parsed.minor === declared.minor &&
|
||||||
|
Math.floor(parsed.patch / 100) === Math.floor(declared.patch / 100)
|
||||||
|
);
|
||||||
|
case 'feature':
|
||||||
|
case 'latestFeature':
|
||||||
|
return (
|
||||||
|
parsed.major === declared.major && parsed.minor === declared.minor
|
||||||
|
);
|
||||||
|
case 'minor':
|
||||||
|
case 'latestMinor':
|
||||||
|
return parsed.major === declared.major;
|
||||||
|
case 'major':
|
||||||
|
case 'latestMajor':
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static highestVersion(versions: string[]): string {
|
||||||
|
return versions.reduce((best, version) =>
|
||||||
|
semver.gt(version, best) ? version : best
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static nearestBandVersion(versions: string[]): string {
|
||||||
|
return versions.reduce((best, version) => {
|
||||||
|
const delta =
|
||||||
|
semver.major(version) - semver.major(best) ||
|
||||||
|
semver.minor(version) - semver.minor(best) ||
|
||||||
|
Math.floor(semver.patch(version) / 100) -
|
||||||
|
Math.floor(semver.patch(best) / 100);
|
||||||
|
return delta < 0 || (delta === 0 && semver.gt(version, best))
|
||||||
|
? version
|
||||||
|
: best;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private findByRollForward(
|
||||||
|
candidates: string[],
|
||||||
|
policy: string,
|
||||||
|
declaredVersion: string
|
||||||
|
): string | null {
|
||||||
|
const declared = semver.parse(declaredVersion);
|
||||||
|
if (!declared) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const scoped = candidates.filter(version =>
|
||||||
|
DotnetCoreInstaller.isInRollForwardScope(version, policy, declared)
|
||||||
|
);
|
||||||
|
if (!scoped.length) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (policy) {
|
||||||
|
case 'patch':
|
||||||
|
return (
|
||||||
|
scoped.find(version => semver.eq(version, declared)) ??
|
||||||
|
DotnetCoreInstaller.highestVersion(scoped)
|
||||||
|
);
|
||||||
|
case 'feature':
|
||||||
|
case 'minor':
|
||||||
|
case 'major':
|
||||||
|
return DotnetCoreInstaller.nearestBandVersion(scoped);
|
||||||
|
default:
|
||||||
|
return DotnetCoreInstaller.highestVersion(scoped);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private filterByQuality(allowed: string[]): string[] {
|
||||||
|
const wantsPrerelease =
|
||||||
|
['preview', 'daily'].includes((this.quality || '').toLowerCase()) &&
|
||||||
|
this.qualityApplies();
|
||||||
|
return allowed
|
||||||
|
.filter(version =>
|
||||||
|
wantsPrerelease
|
||||||
|
? semver.prerelease(version) !== null
|
||||||
|
: semver.prerelease(version) === null
|
||||||
|
)
|
||||||
|
.sort(semver.rcompare);
|
||||||
|
}
|
||||||
|
|
||||||
|
private findLocalSdkVersion(): string | null {
|
||||||
|
const installed = this.getInstalledSdkVersions();
|
||||||
|
if (!installed.length) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.hasDotnetMuxer()) {
|
||||||
|
core.debug(
|
||||||
|
`The 'dotnet' executable was not found in '${DotnetInstallDir.dirPath}'. Locally installed SDKs are ignored.`
|
||||||
|
);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const minimumVersion = this.minimumVersion;
|
||||||
|
const allowed = minimumVersion
|
||||||
|
? installed.filter(version => semver.gte(version, minimumVersion))
|
||||||
|
: installed;
|
||||||
|
|
||||||
|
if (!allowed.length) {
|
||||||
|
core.debug(
|
||||||
|
`No locally installed .NET SDK satisfies the global.json minimum version '${minimumVersion}'.`
|
||||||
|
);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.rollForward && minimumVersion) {
|
||||||
|
return this.findByRollForward(
|
||||||
|
this.filterByQuality(allowed),
|
||||||
|
this.rollForward,
|
||||||
|
minimumVersion
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (semver.valid(this.version)) {
|
||||||
|
return allowed.find(version => version === this.version) ?? null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
this.version.toLowerCase() !== 'latest' &&
|
||||||
|
!DotnetCoreInstaller.FeatureBandSyntax.test(this.version) &&
|
||||||
|
!semver.validRange(this.version)
|
||||||
|
) {
|
||||||
|
core.debug(
|
||||||
|
`The requested version '${this.version}' is not a valid version spec. Locally installed SDKs are ignored.`
|
||||||
|
);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const candidates = this.filterByQuality(allowed);
|
||||||
|
|
||||||
|
if (!candidates.length) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const input = this.version.toLowerCase();
|
||||||
|
|
||||||
|
if (input === 'latest') {
|
||||||
|
const channel = (this.dotnetChannel || '').trim();
|
||||||
|
if (!channel) {
|
||||||
|
return candidates[0];
|
||||||
|
}
|
||||||
|
const channelMinor = channel.match(/^(\d+)\.(\d+)$/);
|
||||||
|
if (channelMinor) {
|
||||||
|
return this.findByScope(candidates, channelMinor[1], channelMinor[2]);
|
||||||
|
}
|
||||||
|
const channelBand = channel.match(/^(\d+)\.(\d+)\.(\d)xx$/);
|
||||||
|
if (channelBand) {
|
||||||
|
return this.findByScope(
|
||||||
|
candidates,
|
||||||
|
channelBand[1],
|
||||||
|
channelBand[2],
|
||||||
|
channelBand[3]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const bandMatch = this.version.match(DotnetCoreInstaller.FeatureBandSyntax);
|
||||||
|
if (bandMatch) {
|
||||||
|
if (Number(bandMatch[1]) < LATEST_PATCH_SYNTAX_MINIMAL_MAJOR_TAG) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
return this.findByScope(
|
||||||
|
candidates,
|
||||||
|
bandMatch[1],
|
||||||
|
bandMatch[2],
|
||||||
|
bandMatch[3]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const minorMatch = this.version.match(/^(\d+)\.(\d+)(?:\.[xX*])?$/);
|
||||||
|
if (minorMatch) {
|
||||||
|
return this.findByScope(candidates, minorMatch[1], minorMatch[2]);
|
||||||
|
}
|
||||||
|
|
||||||
|
const majorMatch = this.version.match(/^(\d+)(?:\.[xX*])?$/);
|
||||||
|
if (majorMatch) {
|
||||||
|
const [major, minor] = channelForMajor(majorMatch[1]).split('.');
|
||||||
|
return this.findByScope(candidates, major, minor);
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
public async installDotnet(): Promise<string | null> {
|
public async installDotnet(): Promise<string | null> {
|
||||||
|
const isCrossArch =
|
||||||
|
!!this.architecture &&
|
||||||
|
normalizeArch(this.architecture) !== normalizeArch(os.arch());
|
||||||
|
|
||||||
|
if (!this.checkLatest && !isCrossArch) {
|
||||||
|
const localVersion = this.findLocalSdkVersion();
|
||||||
|
if (localVersion) {
|
||||||
|
core.info(
|
||||||
|
`'check-latest' is false and a locally installed .NET SDK (${localVersion}) satisfies the '${this.version}' request. Skipping download.`
|
||||||
|
);
|
||||||
|
return localVersion;
|
||||||
|
}
|
||||||
|
core.info(
|
||||||
|
`'check-latest' is false but no locally installed .NET SDK satisfies the '${this.version}' request. Falling back to online installation.`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
const versionResolver = new DotnetVersionResolver(
|
const versionResolver = new DotnetVersionResolver(
|
||||||
this.version,
|
this.version,
|
||||||
this.quality,
|
this.quality,
|
||||||
@@ -397,41 +711,44 @@ export class DotnetCoreInstaller {
|
|||||||
);
|
);
|
||||||
const dotnetVersion = await versionResolver.createDotnetVersion();
|
const dotnetVersion = await versionResolver.createDotnetVersion();
|
||||||
|
|
||||||
const architectureArguments =
|
const architectureArguments = isCrossArch
|
||||||
this.architecture &&
|
? [
|
||||||
normalizeArch(this.architecture) !== normalizeArch(os.arch())
|
IS_WINDOWS ? '-InstallDir' : '--install-dir',
|
||||||
? [
|
IS_WINDOWS
|
||||||
IS_WINDOWS ? '-InstallDir' : '--install-dir',
|
? `"${path.join(DotnetInstallDir.dirPath, this.architecture!)}"`
|
||||||
IS_WINDOWS
|
: path.join(DotnetInstallDir.dirPath, this.architecture!)
|
||||||
? `"${path.join(DotnetInstallDir.dirPath, this.architecture)}"`
|
]
|
||||||
: path.join(DotnetInstallDir.dirPath, this.architecture)
|
: [];
|
||||||
]
|
|
||||||
: [];
|
|
||||||
/**
|
/**
|
||||||
* Install dotnet runtime first in order to get
|
* Install dotnet runtime first in order to get
|
||||||
* the latest stable version of dotnet CLI
|
* the latest stable version of dotnet CLI.
|
||||||
|
* Opt-out via skip-lts-prepass when this safeguard isn't needed.
|
||||||
*/
|
*/
|
||||||
const runtimeInstallOutput = await new DotnetInstallScript()
|
if (!this.skipLtsPrepass) {
|
||||||
.useArchitecture(this.architecture)
|
const runtimeInstallOutput = await new DotnetInstallScript()
|
||||||
// If dotnet CLI is already installed - avoid overwriting it
|
.useArchitecture(this.architecture)
|
||||||
.useArguments(
|
// If dotnet CLI is already installed - avoid overwriting it
|
||||||
IS_WINDOWS ? '-SkipNonVersionedFiles' : '--skip-non-versioned-files'
|
.useArguments(
|
||||||
)
|
IS_WINDOWS ? '-SkipNonVersionedFiles' : '--skip-non-versioned-files'
|
||||||
// Install only runtime + CLI
|
)
|
||||||
.useArguments(IS_WINDOWS ? '-Runtime' : '--runtime', 'dotnet')
|
// Install only runtime + CLI
|
||||||
// Use latest stable version
|
.useArguments(IS_WINDOWS ? '-Runtime' : '--runtime', 'dotnet')
|
||||||
.useArguments(IS_WINDOWS ? '-Channel' : '--channel', 'LTS')
|
// Use latest stable version
|
||||||
.useArguments(...architectureArguments)
|
.useArguments(IS_WINDOWS ? '-Channel' : '--channel', 'LTS')
|
||||||
.execute();
|
.useArguments(...architectureArguments)
|
||||||
|
.execute();
|
||||||
|
|
||||||
if (runtimeInstallOutput.exitCode) {
|
if (runtimeInstallOutput.exitCode) {
|
||||||
/**
|
/**
|
||||||
* dotnetInstallScript will install CLI and runtime even if previous script haven't succeded,
|
* dotnetInstallScript will install CLI and runtime even if previous script haven't succeded,
|
||||||
* so at this point it's too early to throw an error
|
* so at this point it's too early to throw an error
|
||||||
*/
|
*/
|
||||||
core.warning(
|
core.warning(
|
||||||
`Failed to install dotnet runtime + cli, exit code: ${runtimeInstallOutput.exitCode}. ${runtimeInstallOutput.stderr}`
|
`Failed to install dotnet runtime + cli, exit code: ${runtimeInstallOutput.exitCode}. ${runtimeInstallOutput.stderr}`
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
core.info('Skipping LTS runtime pre-pass (skip-lts-prepass: true).');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+85
-6
@@ -31,6 +31,8 @@ type SupportedArchitecture = (typeof supportedArchitectures)[number];
|
|||||||
|
|
||||||
export type QualityOptions = (typeof qualityOptions)[number] | '';
|
export type QualityOptions = (typeof qualityOptions)[number] | '';
|
||||||
|
|
||||||
|
const CHECK_LATEST_ENV_VAR = 'DOTNET_CHECK_LATEST';
|
||||||
|
|
||||||
function isValidChannel(channel: string): boolean {
|
function isValidChannel(channel: string): boolean {
|
||||||
const upper = channel.toUpperCase();
|
const upper = channel.toUpperCase();
|
||||||
if (upper === 'LTS' || upper === 'STS') return true;
|
if (upper === 'LTS' || upper === 'STS') return true;
|
||||||
@@ -54,8 +56,24 @@ export async function run() {
|
|||||||
// Proxy, auth, (etc) are still set up, even if no version is identified
|
// Proxy, auth, (etc) are still set up, even if no version is identified
|
||||||
//
|
//
|
||||||
const versions = core.getMultilineInput('dotnet-version');
|
const versions = core.getMultilineInput('dotnet-version');
|
||||||
|
const explicitVersions = new Set(versions);
|
||||||
|
const globalJsonConstraints = new Map<
|
||||||
|
string,
|
||||||
|
{minimumVersion: string; rollForward?: string}
|
||||||
|
>();
|
||||||
|
const addVersionFromGlobalJson = (globalJsonPath: string) => {
|
||||||
|
const {version, minimumVersion, rollForward} =
|
||||||
|
getVersionFromGlobalJson(globalJsonPath);
|
||||||
|
versions.push(version);
|
||||||
|
const isRedundantExplicitPin =
|
||||||
|
explicitVersions.has(version) && version === minimumVersion;
|
||||||
|
if (minimumVersion && !isRedundantExplicitPin) {
|
||||||
|
globalJsonConstraints.set(version, {minimumVersion, rollForward});
|
||||||
|
}
|
||||||
|
};
|
||||||
const installedDotnetVersions: (string | null)[] = [];
|
const installedDotnetVersions: (string | null)[] = [];
|
||||||
const architecture = getArchitectureInput();
|
const architecture = getArchitectureInput();
|
||||||
|
const checkLatest = getCheckLatestInput();
|
||||||
let dotnetChannel = core.getInput('dotnet-channel');
|
let dotnetChannel = core.getInput('dotnet-channel');
|
||||||
|
|
||||||
const isLatestRequested = versions.some(
|
const isLatestRequested = versions.some(
|
||||||
@@ -87,7 +105,7 @@ export async function run() {
|
|||||||
`The specified global.json file '${globalJsonFileInput}' does not exist`
|
`The specified global.json file '${globalJsonFileInput}' does not exist`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
versions.push(getVersionFromGlobalJson(globalJsonPath));
|
addVersionFromGlobalJson(globalJsonPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!versions.length) {
|
if (!versions.length) {
|
||||||
@@ -95,7 +113,7 @@ export async function run() {
|
|||||||
core.debug('No version found, trying to find version from global.json');
|
core.debug('No version found, trying to find version from global.json');
|
||||||
const globalJsonPath = path.join(process.cwd(), 'global.json');
|
const globalJsonPath = path.join(process.cwd(), 'global.json');
|
||||||
if (fs.existsSync(globalJsonPath)) {
|
if (fs.existsSync(globalJsonPath)) {
|
||||||
versions.push(getVersionFromGlobalJson(globalJsonPath));
|
addVersionFromGlobalJson(globalJsonPath);
|
||||||
} else {
|
} else {
|
||||||
core.info(
|
core.info(
|
||||||
`The global.json wasn't found in the root directory. No .NET version will be installed.`
|
`The global.json wasn't found in the root directory. No .NET version will be installed.`
|
||||||
@@ -112,16 +130,23 @@ export async function run() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const skipLtsPrepass = core.getBooleanInput('skip-lts-prepass');
|
||||||
|
|
||||||
let dotnetInstaller: DotnetCoreInstaller;
|
let dotnetInstaller: DotnetCoreInstaller;
|
||||||
const uniqueVersions = new Set<string>(
|
const uniqueVersions = new Set<string>(
|
||||||
versions.map(v => (v.toLowerCase() === 'latest' ? 'latest' : v))
|
versions.map(v => (v.toLowerCase() === 'latest' ? 'latest' : v))
|
||||||
);
|
);
|
||||||
for (const version of uniqueVersions) {
|
for (const version of uniqueVersions) {
|
||||||
|
const constraint = globalJsonConstraints.get(version);
|
||||||
dotnetInstaller = new DotnetCoreInstaller(
|
dotnetInstaller = new DotnetCoreInstaller(
|
||||||
version,
|
version,
|
||||||
quality,
|
quality,
|
||||||
architecture,
|
architecture,
|
||||||
version.toLowerCase() === 'latest' ? dotnetChannel : undefined
|
version.toLowerCase() === 'latest' ? dotnetChannel : undefined,
|
||||||
|
checkLatest,
|
||||||
|
constraint?.minimumVersion,
|
||||||
|
constraint?.rollForward,
|
||||||
|
skipLtsPrepass
|
||||||
);
|
);
|
||||||
const installedVersion = await dotnetInstaller.installDotnet();
|
const installedVersion = await dotnetInstaller.installDotnet();
|
||||||
installedDotnetVersions.push(installedVersion);
|
installedDotnetVersions.push(installedVersion);
|
||||||
@@ -200,8 +225,51 @@ function getArchitectureInput(): SupportedArchitecture | '' {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getVersionFromGlobalJson(globalJsonPath: string): string {
|
function getCheckLatestInput(): boolean {
|
||||||
|
if ((core.getInput('check-latest') || '').trim()) {
|
||||||
|
return core.getBooleanInput('check-latest');
|
||||||
|
}
|
||||||
|
|
||||||
|
const rawEnvValue = (process.env[CHECK_LATEST_ENV_VAR] || '').trim();
|
||||||
|
if (rawEnvValue) {
|
||||||
|
const envValue = rawEnvValue.toLowerCase();
|
||||||
|
if (envValue === 'true' || envValue === 'false') {
|
||||||
|
core.debug(
|
||||||
|
`The 'check-latest' option is set to '${envValue}' by the ${CHECK_LATEST_ENV_VAR} environment variable.`
|
||||||
|
);
|
||||||
|
return envValue === 'true';
|
||||||
|
}
|
||||||
|
core.warning(
|
||||||
|
`Value '${rawEnvValue}' is not supported for the ${CHECK_LATEST_ENV_VAR} environment variable. Supported values are: true, false. The 'check-latest' option falls back to 'true'.`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface GlobalJsonVersion {
|
||||||
|
version: string;
|
||||||
|
minimumVersion?: string;
|
||||||
|
rollForward?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const ROLL_FORWARD_POLICIES = [
|
||||||
|
'patch',
|
||||||
|
'feature',
|
||||||
|
'minor',
|
||||||
|
'major',
|
||||||
|
'latestPatch',
|
||||||
|
'latestFeature',
|
||||||
|
'latestMinor',
|
||||||
|
'latestMajor'
|
||||||
|
];
|
||||||
|
|
||||||
|
const versionPattern = /^\d+\.\d+\.[1-9]\d{2,}$/;
|
||||||
|
|
||||||
|
function getVersionFromGlobalJson(globalJsonPath: string): GlobalJsonVersion {
|
||||||
let version = '';
|
let version = '';
|
||||||
|
let minimumVersion: string | undefined;
|
||||||
|
let rollForwardPolicy: string | undefined;
|
||||||
const globalJson = JSON5.parse(
|
const globalJson = JSON5.parse(
|
||||||
// .trim() is necessary to strip BOM https://github.com/nodejs/node/issues/20649
|
// .trim() is necessary to strip BOM https://github.com/nodejs/node/issues/20649
|
||||||
fs.readFileSync(globalJsonPath, {encoding: 'utf8'}).trim(),
|
fs.readFileSync(globalJsonPath, {encoding: 'utf8'}).trim(),
|
||||||
@@ -215,7 +283,6 @@ function getVersionFromGlobalJson(globalJsonPath: string): string {
|
|||||||
version = globalJson.sdk.version;
|
version = globalJson.sdk.version;
|
||||||
const rollForward = globalJson.sdk.rollForward;
|
const rollForward = globalJson.sdk.rollForward;
|
||||||
if (rollForward && !semver.prerelease(version)) {
|
if (rollForward && !semver.prerelease(version)) {
|
||||||
const versionPattern = /^\d+\.\d+\.[1-9]\d{2,}$/;
|
|
||||||
if (!versionPattern.test(version)) {
|
if (!versionPattern.test(version)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Version '${version}' is not valid for the 'sdk.version' value in global.json. ` +
|
`Version '${version}' is not valid for the 'sdk.version' value in global.json. ` +
|
||||||
@@ -244,9 +311,21 @@ function getVersionFromGlobalJson(globalJsonPath: string): string {
|
|||||||
version = `${major}.${minor}.${feature}xx`;
|
version = `${major}.${minor}.${feature}xx`;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ROLL_FORWARD_POLICIES.includes(rollForward)) {
|
||||||
|
minimumVersion = globalJson.sdk.version;
|
||||||
|
rollForwardPolicy = rollForward;
|
||||||
|
}
|
||||||
|
} else if (
|
||||||
|
!rollForward &&
|
||||||
|
!semver.prerelease(version) &&
|
||||||
|
versionPattern.test(version)
|
||||||
|
) {
|
||||||
|
minimumVersion = version;
|
||||||
|
rollForwardPolicy = 'patch';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return version;
|
return {version, minimumVersion, rollForward: rollForwardPolicy};
|
||||||
}
|
}
|
||||||
|
|
||||||
function outputInstalledVersion(
|
function outputInstalledVersion(
|
||||||
|
|||||||
Reference in new issue
Block a user