mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Release 2.0.16
This commit is contained in:
parent
62bfc291b1
commit
a93d79baa5
2
.github/workflows/push_pull.yml
vendored
2
.github/workflows/push_pull.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
qt_version: ${{ matrix.qt_version }}
|
qt_version: ${{ matrix.qt_version }}
|
||||||
event_name: ${{ github.event_name }}
|
event_name: ${{ github.event_name }}
|
||||||
pull_request_number: ${{ github.event.pull_request.number }}
|
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)
|
# Build DEB/RPM Packages for APT/DNF Repository (runs only on tagged commits)
|
||||||
repo_build:
|
repo_build:
|
||||||
|
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' }}
|
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
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-*' }}
|
path: ${{ inputs.event_name == 'pull_request' && 'deploy/*.tar.gz' || 'deploy/Hyperion-*' }}
|
||||||
env:
|
env:
|
||||||
NAME: ${{ format('{0}_{1}_{2}{3}', matrix.os.distribution, matrix.os.codename, matrix.os.architecture[0], inputs.qt_version == '6' && '_qt6' || '') }}
|
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' }}
|
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
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-*'
|
path: 'build/Hyperion-*'
|
||||||
env:
|
env:
|
||||||
NAME: ${{ inputs.qt_version == '6' && 'macOS_x64_qt6' || 'macOS_x64' }}
|
NAME: ${{ inputs.qt_version == '6' && 'macOS_x64_qt6' || 'macOS_x64' }}
|
||||||
@ -200,7 +200,7 @@ jobs:
|
|||||||
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
|
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
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-*' }}
|
path: ${{ inputs.event_name == 'pull_request' && 'build/*.exe' || 'build/Hyperion-*' }}
|
||||||
env:
|
env:
|
||||||
NAME: ${{ inputs.qt_version == '6' && 'windows_x64_qt6' || 'windows_x64' }}
|
NAME: ${{ inputs.qt_version == '6' && 'windows_x64_qt6' || 'windows_x64' }}
|
||||||
@ -228,14 +228,15 @@ jobs:
|
|||||||
- name: 💾 Artifact download
|
- name: 💾 Artifact download
|
||||||
uses: actions/download-artifact@v4.1.0
|
uses: actions/download-artifact@v4.1.0
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
pattern: artifact-*
|
||||||
|
path: all-artifacts
|
||||||
|
|
||||||
- name: 📦 Upload
|
- name: 📦 Upload
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
name: Hyperion ${{ env.VERSION }}
|
name: Hyperion ${{ env.VERSION }}
|
||||||
tag_name: ${{ env.TAG }}
|
tag_name: ${{ env.TAG }}
|
||||||
files: "artifacts/**"
|
files: "all-artifacts/**"
|
||||||
draft: true
|
draft: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user