-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Prerequisites
- I have written a descriptive issue title
- I have searched issues to ensure it has not already been reported
GitVersion package
GitHub Actions
What are you seeing?
I am trying to upgrade to release 4.0.0 of the action however I am encountering a blocking problem. this is a simple extract of my action
- name: Create artifacts directory
run: |
mkdir -p ./artifacts/packages
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v4.0.0
with:
versionSpec: '6.x'
in the root path I have a nuget.config file which contains the following
<packageSources>
<add key="Nuget" value="https://api.nuget.org/v3/index.json" />
<add key="LocalPackages" value="./artifacts/packages" />
<add key="MyPrivateSource" value="https://nuget.pkg.github.com/MyPrivateOrg/index.json" />
</packageSources>
and this is the output of the step
Run gittools/actions/gitversion/setup@v4.0.0
Running on: 'GitHub Actions'
Disable Telemetry
--------------------------
Acquiring GitVersion.Tool for version spec:
--------------------------
Querying tool versions for GitVersion.Tool
Command: dotnet nuget list source --format short
Error: Failed to parse URL from /home/runner/work/MyPrivateOrg/MyPrivateRepo/artifacts/packages
Error: Failed to parse URL from /home/runner/work/MyPrivateOrg/MyPrivateRepo/artifacts/packages
Also tried to set ignoreFailedSource: true but this does not work either
What is expected?
Install the GitVersion tool without any error
Steps to Reproduce
The steps described are good to reproduce. Before upgrading I was working with version 5.x of the spec and it was working very nice.
Output log or link to your CI build (if appropriate).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working