Skip to content

Add missing image files to fix CI #63

Add missing image files to fix CI

Add missing image files to fix CI #63

name: VXMusic Desktop Build/Release
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.x'
- name: Install dependencies
run: dotnet restore
- name: Build solution
run: dotnet build --configuration Release --no-restore
- name: Publish application
run: dotnet publish -c Release -o ${{ github.workspace }}/output
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.0.0
release_name: Release v1.0.0
draft: false
prerelease: false
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/output
asset_name: VXMusic.zip
asset_content_type: application/zip
- name: Package the application
run: |
cd ${{ github.workspace }}/output
Compress-Archive -Path * -DestinationPath ../VXMusic.zip