mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-10 16:10:04 +00:00
61 lines
1.5 KiB
YAML
61 lines
1.5 KiB
YAML
name: MultiMC5-Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- stable
|
|
- CI
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- releases
|
|
- CI
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [windows-latest]
|
|
|
|
steps:
|
|
- name: Context
|
|
env:
|
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
|
run: echo "$GITHUB_CONTEXT"
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Creates QtAccount File
|
|
uses: DamianReeves/write-file-action@v1.0
|
|
with:
|
|
# The path to the file to write
|
|
path: "%APPDATA%\\Qt"
|
|
# The contents of the file
|
|
contents: ${{ secrets.QTACCOUNT }}
|
|
|
|
- name: Echo and PWD test
|
|
shell: cmd
|
|
run: echo "%APPDATA%\\Qt"
|
|
|
|
- name: Download QT Installer
|
|
run: |
|
|
curl https://download.qt.io/new_archive/qt/5.6/5.6.3/qt-opensource-windows-x86-mingw492-5.6.3.exe --output installer.exe
|
|
|
|
- name: Install QT
|
|
uses: jurplel/install-qt-action@v2.13.2
|
|
with:
|
|
# Directory to install Qt
|
|
#dir: # optional
|
|
# Version of Qt to install
|
|
version: 5.6_preview # optional, default is 5.15.2
|
|
# Host platform
|
|
host: windows # optional
|
|
# Target platform for build
|
|
target: desktop # optional, default is desktop
|
|
# Architecture for Windows/Android
|
|
arch: win32_mingw49 # optional
|