Skip to content

Commit

Permalink
Automatic release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
space928 committed Feb 17, 2024
1 parent 39d3d03 commit 8f655e6
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,30 @@ jobs:
- name: Remove the pfx
run: Remove-Item -path $env:Project_Directory\GitHubActionsWorkflow.pfx

# Compress build artifacts
- name: Compress build artifacts
run: Compress-Archive ${{ env.Project_Directory }}\publish\* -DestinationPath ${{ env.Project_Directory }}\QPlayer-release.zip

# Upload the build artifacts
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: MSIX Package
path: ${{ env.Project_Directory }}\publish
name: ReleaseBinaries
path: ${{ env.Project_Directory }}\QPlayer-release.zip

create-release:
name: "Create Release"
runs-on: "ubuntu-latest"

steps:
- name: Download release binaries
uses: actions/download-artifact@v4
with:
name: ReleaseBinaries
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Development Build"
files: QPlayer-release.zip

0 comments on commit 8f655e6

Please sign in to comment.