Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for GitHub Actions #1966

Merged
merged 29 commits into from
Dec 18, 2019
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
fac5c10
Adding a very minimal implementation
StanleyGoldman Dec 4, 2019
22849a4
Implementing a GitHubActions build server
StanleyGoldman Dec 4, 2019
a97d489
Registring GitHubAction build server with DI
StanleyGoldman Dec 4, 2019
34dbec2
Allowing GitVersionTask to set the environment variables of GitHub Ac…
StanleyGoldman Dec 5, 2019
3dc9566
Avoiding tags
StanleyGoldman Dec 5, 2019
f0a32e5
Some fixes and some tests
StanleyGoldman Dec 5, 2019
af608a4
Merge branch 'master' into github-actions
StanleyGoldman Dec 5, 2019
a489aa8
Adding debug information
StanleyGoldman Dec 5, 2019
08f86be
Fixing test
StanleyGoldman Dec 5, 2019
53deb69
Adding keys
StanleyGoldman Dec 5, 2019
fb4ed56
Debugging more
StanleyGoldman Dec 5, 2019
a154ed7
Changing variable writing method
StanleyGoldman Dec 5, 2019
a316087
Assuming I have the right idea
StanleyGoldman Dec 5, 2019
b578b4c
Also write to the current environment
StanleyGoldman Dec 5, 2019
e345390
Tweaking message
StanleyGoldman Dec 5, 2019
70936d5
Restoring code
StanleyGoldman Dec 5, 2019
c43ae5d
Fixing test
StanleyGoldman Dec 5, 2019
50eed4d
Trying to set the environment variable to the user instead of the pro…
StanleyGoldman Dec 5, 2019
ce6a07d
Changing Resharper setting which relocates using import to inside nam…
StanleyGoldman Dec 5, 2019
7c0f60b
Fixing build errors
StanleyGoldman Dec 5, 2019
8aa86c9
Removing functionality to set environment variables for current step
StanleyGoldman Dec 5, 2019
e6d95eb
Cleanup
StanleyGoldman Dec 5, 2019
ae75b3c
Merge branch 'master' into github-actions
StanleyGoldman Dec 6, 2019
3d69e6e
Merge branch 'master' into github-actions
arturcic Dec 10, 2019
80df6af
Cleanup
StanleyGoldman Dec 16, 2019
3f31425
Remove console
StanleyGoldman Dec 16, 2019
c896a85
Fixing tests
StanleyGoldman Dec 16, 2019
9b42b52
Removing redundant override
StanleyGoldman Dec 17, 2019
926e3a6
Cleanup
StanleyGoldman Dec 17, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing build errors
StanleyGoldman committed Dec 5, 2019

Verified

This commit was signed with the committer’s verified signature.
StanleyGoldman Stanley Goldman
commit 7c0f60b32cb2a3b8e97d55ea0dd3ae080f4000d0
6 changes: 6 additions & 0 deletions src/GitVersionExe.Tests/Helpers/TestEnvironment.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;
using GitVersion;

@@ -21,5 +22,10 @@ public void SetEnvironmentVariable(string variableName, string value)
{
map[variableName] = value;
}

public void SetEnvironmentVariable(string variableName, string value, EnvironmentVariableTarget target)
{
map[variableName] = value;
}
}
}
6 changes: 6 additions & 0 deletions src/GitVersionTask.Tests/Helpers/TestEnvironment.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;

namespace GitVersion.MSBuildTask.Tests.Helpers
@@ -20,5 +21,10 @@ public void SetEnvironmentVariable(string variableName, string value)
{
map[variableName] = value;
}

public void SetEnvironmentVariable(string variableName, string value, EnvironmentVariableTarget target)
{
map[variableName] = value;
}
}
}