Skip to content

Commit 4af8714

Browse files
apply dependabot changes
1 parent e4b2ad5 commit 4af8714

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

.github/workflows/qt5_6.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
183183
- name: 📥 Install Vulkan SDK
184184
if: ${{ inputs.qt_version == '6' }}
185-
uses: jakoch/install-vulkan-sdk-action@v1.0.6
185+
uses: jakoch/install-vulkan-sdk-action@v1
186186
with:
187187
install_runtime: false
188188
cache: true
@@ -216,3 +216,37 @@ jobs:
216216
path: ${{ inputs.event_name == 'pull_request' && 'build/*.exe' || 'build/Hyperion-*' }}
217217
env:
218218
NAME: ${{ inputs.qt_version == '6' && 'windows_x64_qt6' || 'windows_x64' }}
219+
220+
#####################################
221+
###### Publish GitHub Releases ######
222+
#####################################
223+
224+
github_publish:
225+
name: 🚀 Publish GitHub Releases
226+
if: ${{ inputs.qt_version == '5' && inputs.publish }}
227+
needs: [Linux, macOS, windows]
228+
runs-on: ubuntu-latest
229+
steps:
230+
- name: ⬇ Checkout
231+
uses: actions/checkout@v4
232+
233+
- name: 🔧 Prepare
234+
run: |
235+
echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
236+
echo "VERSION=$(tr -d '\n' < .version)" >> $GITHUB_ENV
237+
238+
- name: 💾 Artifact download
239+
uses: actions/download-artifact@v4
240+
with:
241+
pattern: artifact-*
242+
path: all-artifacts
243+
244+
- name: 📦 Upload
245+
uses: softprops/action-gh-release@v2
246+
with:
247+
name: Hyperion ${{ env.VERSION }}
248+
tag_name: ${{ env.TAG }}
249+
files: "all-artifacts/**"
250+
draft: true
251+
env:
252+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)