Skip to content

Commit 161c598

Browse files
authored
C#: work around CI race condition (bytecodealliance#1045)
This works around dotnet/runtime#80619. See also https://discord.com/channels/732297728826277939/1280906984765395017 Signed-off-by: Joel Dice <[email protected]>
1 parent eeca274 commit 161c598

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ jobs:
8484
$LOCALAPPDATA/Microsoft/dotnet/dotnet --info
8585
if: matrix.os == 'windows-latest' && matrix.lang == 'csharp'
8686
87+
# Hacky work-around for https://github.com/dotnet/runtime/issues/80619
88+
- run: dotnet new console -o /tmp/foo
89+
if: matrix.os != 'windows-latest' && matrix.lang == 'csharp'
90+
8791
- run: |
8892
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash
8993
echo "$HOME/.moon/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)