mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Corrections after release 2.0.16 (#1694)
* Updates on building a release * Fixes * Correct non arm64 identification * Show download bar * reset all units with failed status * Reload systemd daemon after updates * Force Qt5 for armv6 packages --------- Co-authored-by: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/push_pull.yml
vendored
4
.github/workflows/push_pull.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
qt_version: ${{ matrix.qt_version }}
|
||||
event_name: ${{ github.event_name }}
|
||||
pull_request_number: ${{ github.event.pull_request.number }}
|
||||
publish: ${{ startsWith(github.event.ref, 'refs/tags') }}
|
||||
publish: ${{ startsWith(github.event.ref, 'refs/tags') && matrix.qt_version == '5' }}
|
||||
|
||||
# Build DEB/RPM Packages for APT/DNF Repository (runs only on tagged commits)
|
||||
repo_build:
|
||||
@@ -44,6 +44,6 @@ jobs:
|
||||
repository: hyperion-project/hyperion.releases-ci
|
||||
token: ${{ secrets.HYPERION_BOT_TOKEN }}
|
||||
event-type: releases_repo_build
|
||||
client-payload: '{ "head_sha": "${{ github.sha }}" }'
|
||||
client-payload: '{ "head_sha": "${{ github.sha }}", "repo_checkout": "hyperion-project/hyperion.ng" }'
|
||||
env:
|
||||
SECRET_HYPERION_BOT_TOKEN: ${{ secrets.HYPERION_BOT_TOKEN }}
|
||||
|
11
.github/workflows/qt5_6.yml
vendored
11
.github/workflows/qt5_6.yml
vendored
@@ -86,7 +86,7 @@ jobs:
|
||||
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.event_name == 'pull_request' && env.NAME || 'artifact' }}
|
||||
name: ${{ inputs.event_name == 'pull_request' && env.NAME || format('artifact-{0}', env.NAME) }}
|
||||
path: ${{ inputs.event_name == 'pull_request' && 'deploy/*.tar.gz' || 'deploy/Hyperion-*' }}
|
||||
env:
|
||||
NAME: ${{ format('{0}_{1}_{2}{3}', matrix.os.distribution, matrix.os.codename, matrix.os.architecture[0], inputs.qt_version == '6' && '_qt6' || '') }}
|
||||
@@ -130,7 +130,7 @@ jobs:
|
||||
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.event_name == 'pull_request' && env.NAME || 'artifact' }}
|
||||
name: ${{ inputs.event_name == 'pull_request' && env.NAME || format('artifact-{0}', env.NAME) }}
|
||||
path: 'build/Hyperion-*'
|
||||
env:
|
||||
NAME: ${{ inputs.qt_version == '6' && 'macOS_x64_qt6' || 'macOS_x64' }}
|
||||
@@ -200,7 +200,7 @@ jobs:
|
||||
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.event_name == 'pull_request' && env.NAME || 'artifact' }}
|
||||
name: ${{ inputs.event_name == 'pull_request' && env.NAME || format('artifact-{0}', env.NAME) }}
|
||||
path: ${{ inputs.event_name == 'pull_request' && 'build/*.exe' || 'build/Hyperion-*' }}
|
||||
env:
|
||||
NAME: ${{ inputs.qt_version == '6' && 'windows_x64_qt6' || 'windows_x64' }}
|
||||
@@ -228,14 +228,15 @@ jobs:
|
||||
- name: 💾 Artifact download
|
||||
uses: actions/download-artifact@v4.1.1
|
||||
with:
|
||||
path: artifacts
|
||||
pattern: artifact-*
|
||||
path: all-artifacts
|
||||
|
||||
- name: 📦 Upload
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: Hyperion ${{ env.VERSION }}
|
||||
tag_name: ${{ env.TAG }}
|
||||
files: "artifacts/**"
|
||||
files: "all-artifacts/**"
|
||||
draft: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Reference in New Issue
Block a user