Skip to content

Commit

Permalink
Better init (no restore + rerunnable)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhammerl committed Sep 12, 2022
1 parent 1ff0cdc commit 410e303
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .devcontainer/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ echo 'Creating symlink for embedded sdk...'

# pwd is the source root folder
rm -rf _dotnetsdk
ln -s /usr/share/dotnet/sdk/6.0.300 _dotnetsdk
mkdir _dotnetsdk
ln -s /usr/share/dotnet/sdk/6.0.300 _dotnetsdk/6.0.300

# Satisfy dev.sh SDK conditions
echo .6.0.300 > _dotnetsdk/6.0.300/.6.0.300
ln -s /usr/bin/dotnet /usr/share/dotnet/sdk/6.0.300/dotnet
echo .6.0.300 > _dotnetsdk/.6.0.300
ln -s -f /usr/bin/dotnet /usr/share/dotnet/sdk/6.0.300/dotnet

rm -rf _layout
cd src
./dev.sh
./dev.sh l

dotnet restore ActionsRunner.sln
code README.md

0 comments on commit 410e303

Please sign in to comment.