From df8c3bfcf1e75bf098896087200ec551d46e8400 Mon Sep 17 00:00:00 2001 From: Panakotta00 Date: Sat, 26 Oct 2024 11:35:50 +0200 Subject: [PATCH] fix: add ci dispatch --- .github/workflows/build-tools.yml | 1 + .github/workflows/build.yml | 5 +++-- .github/workflows/gen-docs.yml | 1 + .github/workflows/update-docs.yml | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-tools.yml b/.github/workflows/build-tools.yml index aec21131a..5ec26c574 100644 --- a/.github/workflows/build-tools.yml +++ b/.github/workflows/build-tools.yml @@ -1,6 +1,7 @@ name: Build Tools on: + workflow_dispatch: workflow_call: jobs: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e00594f7..c92f6e768 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: Build on: + workflow_dispatch: workflow_call: inputs: artifact_name: @@ -93,8 +94,8 @@ jobs: status: ${{ job.status }} webhook-url: ${{ secrets.WEBHOOK_URL }} artifact-url: "${{ steps.upload-win64.outputs.artifact-url }}" - artifact-name: 'FicsIt-Networks.zip' + artifact-name: '${{artifact_name}}.zip' - name: Post Cleanup if: ${{ !failure() }} - run: Remove-Item C:\actions-runner\_work\FicsIt-Networks\FicsIt-Networks\* -Recurse -Force -Confirm:$false -ErrorAction Ignore + run: Remove-Item ${{ github.workspace }}\* -Recurse -Force -Confirm:$false -ErrorAction Ignore diff --git a/.github/workflows/gen-docs.yml b/.github/workflows/gen-docs.yml index 1e3244cb4..91488dde0 100644 --- a/.github/workflows/gen-docs.yml +++ b/.github/workflows/gen-docs.yml @@ -1,6 +1,7 @@ name: Generate Documentation on: + workflow_dispatch: workflow_call: inputs: artifact_name: diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index dcc0bba22..092ffb162 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -1,6 +1,7 @@ name: Update Documentation on: + workflow_dispatch: workflow_call: inputs: artifact_name: