automatic release creation

This commit is contained in:
EinTim23 2025-01-12 15:02:15 +01:00
parent a6c77e256f
commit e8ac296f35
1 changed files with 36 additions and 0 deletions

View File

@ -4,6 +4,8 @@ on:
push: push:
branches: branches:
- main - main
tags:
- 'v*'
pull_request: pull_request:
jobs: jobs:
@ -122,3 +124,37 @@ jobs:
with: with:
name: PlayerLink-macOS-DMG name: PlayerLink-macOS-DMG
path: PlayerLink.dmg path: PlayerLink.dmg
create-release:
needs: [build-linux, build-windows, build-macos]
runs-on: ubuntu-20.04
steps:
- name: Download AppImage artifact
uses: actions/download-artifact@v4
with:
name: PlayerLink-AppImage
path: ./release-assets
- name: Download Windows artifact
uses: actions/download-artifact@v4
with:
name: PlayerLink-Windows-Executable
path: ./release-assets
- name: Download macOS DMG artifact
uses: actions/download-artifact@v4
with:
name: PlayerLink-macOS-DMG
path: ./release-assets
- name: Create GitHub Release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
draft: false
prerelease: false
files: |
./release-assets/*.AppImage
./release-assets/*.exe
./release-assets/*.dmg