Merge pull request #174138 from newAM/github-runner

github-runner: 2.291.1 -> 2.292.0
This commit is contained in:
Martin Weinelt 2022-05-24 23:40:01 +02:00 committed by GitHub
commit 9f4d63a053
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -46,13 +46,13 @@ let
in
stdenv.mkDerivation rec {
pname = "github-runner";
version = "2.291.1";
version = "2.292.0";
src = fetchFromGitHub {
owner = "actions";
repo = "runner";
rev = "v${version}";
hash = "sha256-0Eijq2vXY+Y2g3bhEhIGnFxTCLXpw7k3iXpgj3x8nL4=";
hash = "sha256-vmHUu4coAxFLfi+G4xLjy3+LzFnmGllhWhCXcWuDQnc=";
};
nativeBuildInputs = [
@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
postPatch = ''
# Relax the version requirement
substituteInPlace src/global.json \
--replace '6.0.100' '${dotnetSdk.version}'
--replace '6.0.300' '${dotnetSdk.version}'
# Disable specific tests
substituteInPlace src/dir.proj \

View file

@ -35,7 +35,7 @@ index 1c91e0c..8b27d3f 100644
<Target Name="Test" DependsOnTargets="GenerateConstant">
- <Exec Command="dotnet build Test/Test.csproj -c $(BUILDCONFIG) /p:PackageRuntime=$(PackageRuntime)" ConsoleToMSBuild="true" />
- <Exec Command="dotnet test Test/Test.csproj --no-build --logger:trx" ConsoleToMSBuild="true" />
- <Exec Command="dotnet test Test/Test.csproj -c $(BUILDCONFIG) --no-build --logger:trx" ConsoleToMSBuild="true" />
+ <Exec Command="dotnet build Test/Test.csproj --no-restore -c $(BUILDCONFIG) /p:PackageRuntime=$(PackageRuntime)" ConsoleToMSBuild="true" />
+ <Exec Command="dotnet test Test/Test.csproj --no-restore --no-build --logger:trx" ConsoleToMSBuild="true" />
</Target>