mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Update linux.yml
This commit is contained in:
parent
160fffdc13
commit
4c0d0177d9
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo -u builder sh <<'EOF'
|
sudo -u builder sh <<'EOF'
|
||||||
set -e
|
set -e
|
||||||
export XDG_RUNTIME_DIR=/run/user/$UID
|
export XDG_RUNTIME_DIR=/tmp/runtime-$UID
|
||||||
mkdir -p "$XDG_RUNTIME_DIR"
|
mkdir -p "$XDG_RUNTIME_DIR"
|
||||||
chmod 700 "$XDG_RUNTIME_DIR"
|
chmod 700 "$XDG_RUNTIME_DIR"
|
||||||
export WINE=$(command -v wine64 || command -v wine || false)
|
export WINE=$(command -v wine64 || command -v wine || false)
|
||||||
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
./msvc-wine/vsdownload.py --accept-license --dest $(pwd)/my_msvc/opt/msvc
|
./msvc-wine/vsdownload.py --accept-license --dest $(pwd)/my_msvc/opt/msvc
|
||||||
./msvc-wine/install.sh $(pwd)/my_msvc/opt/msvc
|
./msvc-wine/install.sh $(pwd)/my_msvc/opt/msvc
|
||||||
export PATH=$(pwd)/my_msvc/opt/msvc/bin/x64:$PATH
|
export PATH=$(pwd)/my_msvc/opt/msvc/bin/x64:$PATH
|
||||||
msbuild MinecraftConsoles.sln /p:Configuration=Release /p:Platform="Windows64"
|
./my_msvc/opt/msvc/bin/x64/msbuild MinecraftConsoles.sln /p:Configuration=Release /p:Platform="Windows64"
|
||||||
ls -l
|
ls -l
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue