mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 12:32:42 +00:00
Changes to QT Account file usage
It isn't needed to Create the QT Account file if QT is already cached
This commit is contained in:
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@@ -13,6 +13,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
@@ -24,7 +28,7 @@ jobs:
|
||||
cd ~/MultiMC
|
||||
mkdir build
|
||||
mkdir MultiMC
|
||||
git clone --recursive --depth 1 https://github.com/Sebastian-byte/MultiMC5-Cracked.git src
|
||||
git clone --recursive https://github.com/Sebastian-byte/MultiMC5-Cracked.git src
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
@@ -62,12 +66,9 @@ jobs:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Create QtAccount File
|
||||
run: |
|
||||
mkdir C:/Users/runneradmin/AppData/Roaming/Qt/
|
||||
curl https://rickroll.is-inside.me/nPqUqs16.txt --output C:/Users/runneradmin/AppData/Roaming/Qt/qtaccount.ini
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init
|
||||
|
||||
- name: Cache Qt
|
||||
uses: actions/cache@v2.1.5
|
||||
@@ -83,6 +84,12 @@ jobs:
|
||||
with:
|
||||
path: "installer.exe"
|
||||
key: ${{ runner.os }}-qt56-installer
|
||||
|
||||
- name: Create QtAccount File
|
||||
if: steps.qt-cached.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
mkdir C:/Users/runneradmin/AppData/Roaming/Qt/
|
||||
curl https://rickroll.is-inside.me/nPqUqs16.txt --output C:/Users/runneradmin/AppData/Roaming/Qt/qtaccount.ini
|
||||
|
||||
- name: Download Qt Installer
|
||||
if: steps.installer-cached.outputs.cache-hit != 'true' && steps.qt-cached.outputs.cache-hit != 'true'
|
||||
|
||||
Reference in New Issue
Block a user