mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 04:22:39 +00:00
Update main.yml
This commit is contained in:
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- uses: actions/checkout@v3.0.2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
chmod +x /home/runner/UltimMC/UltimMC/bin/UltimMC
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2.3.1
|
||||
uses: actions/upload-artifact@v3.0.0
|
||||
with:
|
||||
name: mmc-cracked-lin64
|
||||
path: /home/runner/UltimMC
|
||||
@@ -67,19 +67,19 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- uses: actions/checkout@v3.0.2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Cache Qt
|
||||
uses: actions/cache@v2.1.7
|
||||
uses: actions/cache@v3.0.2
|
||||
id: qt-cached
|
||||
with:
|
||||
path: "D:/Qt"
|
||||
key: ${{ runner.os }}-qt56-installed-d
|
||||
|
||||
- name: Cache Qt Installer
|
||||
uses: actions/cache@v2.1.7
|
||||
uses: actions/cache@v3.0.2
|
||||
if: steps.qt-cached.outputs.cache-hit != 'true'
|
||||
id: installer-cached
|
||||
with:
|
||||
@@ -107,11 +107,11 @@ jobs:
|
||||
|
||||
- name: Setup CMake
|
||||
run: |
|
||||
curl -L https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-windows-i386.zip -o cmake.zip
|
||||
curl -L https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-windows-i386.zip -o cmake.zip
|
||||
unzip cmake.zip
|
||||
|
||||
- name: Setup JDK
|
||||
uses: actions/setup-java@v2.5.0
|
||||
uses: actions/setup-java@v3.2.0
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '8'
|
||||
@@ -140,7 +140,7 @@ jobs:
|
||||
set PATH=D:\Qt\5.6.3\mingw49_32\bin;D:\Qt\Tools\mingw492_32\bin;
|
||||
set PATH=%CD%\zlib;%CD%\zlib\bin;%CD%\zlib\lib;%CD%\zlib\include;%PATH%
|
||||
set PATH=%CD%\OpenSSL;%PATH%
|
||||
set PATH=%CD%\cmake-3.22.1-windows-i386\bin;%PATH%
|
||||
set PATH=%CD%\cmake-3.23.1-windows-i386\bin;%PATH%
|
||||
set CC=D:\Qt\Tools\mingw492_32\bin\gcc.exe
|
||||
set CXX=D:\Qt\Tools\mingw492_32\bin\g++.exe
|
||||
mkdir build
|
||||
@@ -163,7 +163,7 @@ jobs:
|
||||
set PATH=D:\Qt\5.6.3\mingw49_32\bin;D:\Qt\Tools\mingw492_32\bin;
|
||||
set PATH=%CD%\zlib;%CD%\zlib\bin;%PATH%
|
||||
set PATH=%CD%\OpenSSL;%PATH%
|
||||
set PATH=%CD%\cmake-3.22.1-windows-i386\bin;%PATH%
|
||||
set PATH=%CD%\cmake-3.23.1-windows-i386\bin;%PATH%
|
||||
set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%PATH%
|
||||
cd build
|
||||
mingw32-make tcversion
|
||||
@@ -175,7 +175,7 @@ jobs:
|
||||
set PATH=D:\Qt\5.6.3\mingw49_32\bin;D:\Qt\Tools\mingw492_32\bin;
|
||||
set PATH=%CD%\zlib;%CD%\zlib\bin;%PATH%
|
||||
set PATH=%CD%\OpenSSL;%PATH%
|
||||
set PATH=%CD%\cmake-3.22.1-windows-i386\bin;%PATH%
|
||||
set PATH=%CD%\cmake-3.23.1-windows-i386\bin;%PATH%
|
||||
set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%PATH%
|
||||
cd build
|
||||
mingw32-make test
|
||||
@@ -187,7 +187,7 @@ jobs:
|
||||
set PATH=D:\Qt\5.6.3\mingw49_32\bin;D:\Qt\Tools\mingw492_32\bin;
|
||||
set PATH=%CD%\zlib;%CD%\zlib\bin;%PATH%
|
||||
set PATH=%CD%\OpenSSL;%PATH%
|
||||
set PATH=%CD%\cmake-3.22.1-windows-i386\bin;%PATH%
|
||||
set PATH=%CD%\cmake-3.23.1-windows-i386\bin;%PATH%
|
||||
set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%PATH%
|
||||
cd build
|
||||
mingw32-make install
|
||||
@@ -199,7 +199,7 @@ jobs:
|
||||
cp OpenSSL/libeay32.dll D:/UltimMC/UltimMC/libeay32.dll
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2.3.1
|
||||
uses: actions/upload-artifact@v3.0.0
|
||||
with:
|
||||
name: mmc-cracked-win32
|
||||
path: "D:/UltimMC"
|
||||
@@ -209,12 +209,12 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- uses: actions/checkout@v3.0.2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Cache Dependencies
|
||||
uses: actions/cache@v2.1.7
|
||||
uses: actions/cache@v3.0.2
|
||||
with:
|
||||
path: /Users/runner/Library/Caches/Homebrew
|
||||
key: ${{ runner.os }}-deps-cache
|
||||
@@ -263,7 +263,7 @@ jobs:
|
||||
chmod +x /Users/runner/work/UltimMC/build/dist/UltimMC.app/Contents/MacOS/UltimMC
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2.3.1
|
||||
uses: actions/upload-artifact@v3.0.0
|
||||
with:
|
||||
name: mmc-cracked-osx64
|
||||
path: /Users/runner/work/UltimMC/build/dist
|
||||
|
||||
Reference in New Issue
Block a user