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:
Mateo Pidal
2021-05-09 00:50:20 -03:00
parent e41b4cd766
commit 297c8cc4b1

View File

@@ -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'