Workaround failing nuget add
This commit is contained in:
parent
5929ffb67a
commit
ab7d3cdf0d
|
@ -191,8 +191,6 @@ jobs:
|
|||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: ${{ matrix.dotnet-version }}
|
||||
- run: mkdir -p ${{ runner.temp }}/opt/pulumi/nuget
|
||||
- run: dotnet nuget add source ${{ runner.temp }}/opt/pulumi/nuget
|
||||
- name: Set up Node ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
|
@ -275,7 +273,9 @@ jobs:
|
|||
with:
|
||||
name: pulumi-nuget-packages
|
||||
# path set to match PULUMI_LOCAL_NUGET
|
||||
path: ${{ runner.temp }}/opt/pulumi/nuget
|
||||
path: ${{ github.workspace }}/nuget
|
||||
- run: |
|
||||
dotnet nuget add source ${{ github.workspace }}/nuget
|
||||
- name: Verify Pulumi Version
|
||||
run: |
|
||||
which pulumi
|
||||
|
@ -287,7 +287,7 @@ jobs:
|
|||
echo "PULUMI_LOCAL_NUGET=$PULUMI_LOCAL_NUGET"
|
||||
ls $PULUMI_LOCAL_NUGET
|
||||
env:
|
||||
PULUMI_LOCAL_NUGET: ${{ runner.temp }}/opt/pulumi/nuget
|
||||
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||
- name: Ensure dependencies for the Node SDK
|
||||
run: |
|
||||
cd sdk/nodejs
|
||||
|
@ -310,7 +310,7 @@ jobs:
|
|||
run: make TEST_ALL_DEPS= test_all
|
||||
env:
|
||||
PULUMI_NODE_MODULES: ${{ runner.temp }}/opt/pulumi/node_modules
|
||||
PULUMI_LOCAL_NUGET: ${{ runner.temp }}/opt/pulumi/nuget
|
||||
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||
PULUMI_ROOT: ${{ runner.temp }}/opt/pulumi
|
||||
- name: Summarize Test Time by Package
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue