From 2b67f44788bcffde5d88a6ec4cca097a99e829ce Mon Sep 17 00:00:00 2001 From: defnotken Date: Wed, 27 Aug 2025 08:56:29 -0500 Subject: [PATCH] Switching path of the build --- .github/workflows/lightless-tag-and-release.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lightless-tag-and-release.yml b/.github/workflows/lightless-tag-and-release.yml index d1a7094..9180b99 100644 --- a/.github/workflows/lightless-tag-and-release.yml +++ b/.github/workflows/lightless-tag-and-release.yml @@ -7,7 +7,6 @@ on: env: PLUGIN_NAME: LightlessSync DOTNET_VERSION: 9.x - SOLUTION_PATH: LightlessSync.sln jobs: tag-and-release: @@ -37,7 +36,7 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Publish LightlessSync - run: dotnet publish --configuration Release --no-build --output publish_output + run: dotnet publish --configuration Release --no-build - name: Get version id: package_version @@ -49,6 +48,10 @@ jobs: run: | echo "Version: ${{ steps.package_version.outputs.version }}" + - name: Prepare Lightless Client + run: | + Compress-Archive -Path ${{ env.PLUGIN_NAME }}/bin/x64/Release/* -DestinationPath output/LightlessClient.zip + - name: Create Git tag if not exists shell: pwsh run: | @@ -64,11 +67,6 @@ jobs: Write-Host "Tag $tag already exists. Skipping tag creation." } - - name: Zip publish_output - shell: pwsh - run: | - Compress-Archive -Path publish_output\* -DestinationPath LightlessSync.zip - - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: @@ -76,6 +74,6 @@ jobs: name: Release ${{ steps.package_version.outputs.version }} draft: false prerelease: false - files: LightlessSync.zip + files: LightlessClient.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file