From fce3a0c0cedaa20824e38926e3e2fd500f11b1dd Mon Sep 17 00:00:00 2001 From: Fusion-Priyakant <104438308+Fusion-Priyakant@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:24:23 +0530 Subject: [PATCH] Update StaticAnalysis.yml --- .github/workflows/StaticAnalysis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/StaticAnalysis.yml b/.github/workflows/StaticAnalysis.yml index 5f1ce74..71b2f40 100644 --- a/.github/workflows/StaticAnalysis.yml +++ b/.github/workflows/StaticAnalysis.yml @@ -27,11 +27,14 @@ jobs: Copy-Item -Path "${{ github.workspace }}\Local\*" -Destination . -Recurse -Force # Runs a set of commands using the runners shell - - name: Upload Analysis Result + - name: Zip Analysis Result run: | Compress-Archive -Path C:\FusionLiteProjects\OrchardCore\Data\Imports\* -DestinationPath C:\FusionLiteProjects\OrchardCore\Data\Imports\analysis.zip - gh release upload ${{github.event.release.tag_name}} - env: - GITHUB_TOKEN: ${{ github.TOKEN }} - shell: powershell + + - name: Upload Analysis Result + uses: xresloader/upload-to-github-release@v1 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + release: ${{ steps.create_release.outputs.release_id }} + files: C:\FusionLiteProjects\OrchardCore\Data\Imports\analysis.zip