File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 51
51
mkdir Vanilla
52
52
cd ./Vanilla
53
53
tar -xzf ../hk-binary-archives/${{ env.HK_VERSION }}/managed.${{ matrix.platform }}.tar.gz
54
+
55
+ - name : Set RID
56
+ run : |
57
+ case "${{ matrix.platform }}" in
58
+ windows) echo "RID=win-x64" >> $GITHUB_ENV ;;
59
+ linux) echo "RID=linux-x64" >> $GITHUB_ENV ;;
60
+ macos) echo "RID=osx-x64" >> $GITHUB_ENV ;;
61
+ esac
54
62
55
63
- uses : actions/setup-dotnet@v4
56
64
with :
67
75
dotnet build PrePatcher -o PrePatcher/Output -p:Configuration=Release
68
76
- name : Build Assembly-CSharp
69
77
run : |
70
- dotnet build Assembly-CSharp -p:Configuration=Release
78
+ dotnet build Assembly-CSharp --runtime $RID - p:Configuration=Release
71
79
- name : Upload Binary
72
80
if : inputs.upload-artifact
73
81
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments