From a913540ccc6e3281b368b63d7af2ee2be6d95a08 Mon Sep 17 00:00:00 2001 From: Fusion-Priyakant <104438308+Fusion-Priyakant@users.noreply.github.com> Date: Fri, 14 Jun 2024 17:32:18 +0530 Subject: [PATCH] Create Artifact.yml --- .github/workflows/Artifact.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/Artifact.yml diff --git a/.github/workflows/Artifact.yml b/.github/workflows/Artifact.yml new file mode 100644 index 0000000..5434324 --- /dev/null +++ b/.github/workflows/Artifact.yml @@ -0,0 +1,22 @@ +name: Upload Analysis Zip as Artifact + +on: + workflow_dispatch: + +jobs: + upload_artifact: + runs-on: self-hosted + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Create analysis.zip + run: | + Compress-Archive -Path C:\FusionLiteProjects\OrchardCore\Data\Imports\* -DestinationPath C:\FusionLiteProjects\OrchardCore\Data\Imports\analysis.zip -Force + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: analysis-zip + path: C:\FusionLiteProjects\OrchardCore\Data\Imports\analysis.zip