mirror of
https://github.com/unmojang/FjordLauncher.git
synced 2025-09-08 06:40:46 -04:00
Merge remote-tracking branch 'prismlauncher/release-9.x' into develop
This commit is contained in:
commit
833b9b8a6d
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -106,7 +106,7 @@ jobs:
|
|||||||
qt_ver: 6
|
qt_ver: 6
|
||||||
qt_host: mac
|
qt_host: mac
|
||||||
qt_arch: ""
|
qt_arch: ""
|
||||||
qt_version: "6.8.1"
|
qt_version: "6.7.3"
|
||||||
qt_modules: "qt5compat qtimageformats qtnetworkauth"
|
qt_modules: "qt5compat qtimageformats qtnetworkauth"
|
||||||
|
|
||||||
- os: macos-14
|
- os: macos-14
|
||||||
|
41
.github/workflows/nix.yml
vendored
41
.github/workflows/nix.yml
vendored
@ -2,21 +2,30 @@ name: Nix
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths-ignore:
|
|
||||||
- "**.md"
|
|
||||||
- "**/LICENSE"
|
|
||||||
- ".github/ISSUE_TEMPLATE/**"
|
|
||||||
- ".markdownlint**"
|
|
||||||
- "flatpak/**"
|
|
||||||
tags:
|
tags:
|
||||||
- "*"
|
- "*"
|
||||||
|
paths-ignore:
|
||||||
|
- ".github/**"
|
||||||
|
- "!.github/workflows/nix.yml"
|
||||||
|
- "flatpak/"
|
||||||
|
- "scripts/"
|
||||||
|
|
||||||
|
- ".git*"
|
||||||
|
- ".envrc"
|
||||||
|
- "**.md"
|
||||||
|
- "!COPYING.md"
|
||||||
|
- "renovate.json"
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
|
- ".github/**"
|
||||||
|
- "flatpak/"
|
||||||
|
- "scripts/"
|
||||||
|
|
||||||
|
- ".git*"
|
||||||
|
- ".envrc"
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "**/LICENSE"
|
- "!COPYING.md"
|
||||||
- ".github/ISSUE_TEMPLATE/**"
|
- "renovate.json"
|
||||||
- ".markdownlint**"
|
|
||||||
- "flatpak/**"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -62,7 +71,7 @@ jobs:
|
|||||||
|
|
||||||
# For PRs
|
# For PRs
|
||||||
- name: Setup Nix Magic Cache
|
- name: Setup Nix Magic Cache
|
||||||
if: ${{ env.USE_DETERMINATE }}
|
if: ${{ env.USE_DETERMINATE == 'true' }}
|
||||||
uses: DeterminateSystems/flakehub-cache-action@v1
|
uses: DeterminateSystems/flakehub-cache-action@v1
|
||||||
|
|
||||||
# For in-tree builds
|
# For in-tree builds
|
||||||
@ -78,11 +87,17 @@ jobs:
|
|||||||
nix flake check --print-build-logs --show-trace
|
nix flake check --print-build-logs --show-trace
|
||||||
|
|
||||||
- name: Build debug package
|
- name: Build debug package
|
||||||
if: ${{ env.DEBUG }}
|
if: ${{ env.DEBUG == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
nix build --print-build-logs .#fjordlauncher-debug
|
nix build --print-build-logs .#fjordlauncher-debug
|
||||||
|
|
||||||
- name: Build release package
|
- name: Build release package
|
||||||
if: ${{ !env.DEBUG }}
|
if: ${{ env.DEBUG == 'false' }}
|
||||||
|
env:
|
||||||
|
TAG: ${{ github.ref_name }}
|
||||||
|
SYSTEM: ${{ matrix.system }}
|
||||||
run: |
|
run: |
|
||||||
nix build --print-build-logs .#fjordlauncher
|
nix build --print-build-logs .#fjordlauncher
|
||||||
|
nix build --no-link --print-out-paths .#fjordlauncher \
|
||||||
|
| tee -a "$GITHUB_STEP_SUMMARY" \
|
||||||
|
| xargs cachix pin fjordlauncher "$TAG"-"$SYSTEM"
|
||||||
|
@ -188,7 +188,7 @@ set(Launcher_FMLLIBS_BASE_URL "https://files.prismlauncher.org/fmllibs/" CACHE S
|
|||||||
|
|
||||||
######## Set version numbers ########
|
######## Set version numbers ########
|
||||||
set(Launcher_VERSION_MAJOR 9)
|
set(Launcher_VERSION_MAJOR 9)
|
||||||
set(Launcher_VERSION_MINOR 3)
|
set(Launcher_VERSION_MINOR 4)
|
||||||
set(Launcher_VERSION_PATCH 0)
|
set(Launcher_VERSION_PATCH 0)
|
||||||
|
|
||||||
set(Launcher_VERSION_NAME "${Launcher_VERSION_MAJOR}.${Launcher_VERSION_MINOR}.${Launcher_VERSION_PATCH}")
|
set(Launcher_VERSION_NAME "${Launcher_VERSION_MAJOR}.${Launcher_VERSION_MINOR}.${Launcher_VERSION_PATCH}")
|
||||||
|
6
flake.lock
generated
6
flake.lock
generated
@ -18,11 +18,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743827369,
|
"lastModified": 1743583204,
|
||||||
"narHash": "sha256-rpqepOZ8Eo1zg+KJeWoq1HAOgoMCDloqv5r2EAa9TSA=",
|
"narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "42a1c966be226125b48c384171c44c651c236c22",
|
"rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user