From 098c3d35282aeb7578b63cd746c1fdaa269defcd Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Wed, 23 Oct 2024 21:13:37 +0200 Subject: [PATCH] [no ci] fix workflow --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f299e2e..db16097 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,9 +17,9 @@ jobs: ci: uses: ./.github/workflows/main.yml with: - publish: ${{ github.event_name == 'push' && github.server_url == 'https://github.com' }} + publish: ${{ github.event_name == 'push' && github.server_url == 'https://github.com' || github.event_name == 'workflow_dispatch' && inputs.type == 'release' }} use-repo-files: true offset: 400 build-m1: true draft: ${{ github.event_name == 'workflow_dispatch' && inputs.type == 'draft' }} - secrets: inherit \ No newline at end of file + secrets: inherit