github-runner: 2.291.1 -> 2.292.0

This commit is contained in:
Alex Martens 2022-05-23 08:50:40 -07:00
parent 608d595855
commit 36fbecf109
2 changed files with 4 additions and 4 deletions

View file

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

View file

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