35 lines
881 B
YAML
35 lines
881 B
YAML
name: Release
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ["Build"]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
if: startsWith(github.event.workflow_run.head_branch, 'v')
|
|
steps:
|
|
- name: Download Installer Artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: Qtk Packages
|
|
path: |
|
|
build/packages/*
|
|
install/*
|
|
|
|
- name: Create GitHub Release
|
|
id: create_release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
tag_name: ${{ github.event.workflow_run.head_branch }}
|
|
name: Qtk ${{ github.event.workflow_run.head_branch }}
|
|
draft: true
|
|
prerelease: false
|
|
generate_release_notes: true
|
|
files: |
|
|
build/packages/*
|
|
install/*
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |