From f75b7852a1d5b7d4528046f39754832146b90404 Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Sun, 14 Jan 2024 13:46:10 +0330 Subject: [PATCH] Fix ci --- .github/workflows/build.yml | 4 ---- .github/workflows/ci.yml | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dcb9d986..007f1f7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,10 +12,6 @@ on: type: string default: "dev" -concurrency: - group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: true - env: CHANNEL: "${{ inputs.channel }}" NDK_VERSION: r26b diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9064d368..3b744737 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,14 @@ on: - '.vscode/' - 'appcast.xml' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: run: uses: ./.github/workflows/build.yml secrets: inherit permissions: write-all with: - upload-artifact: false \ No newline at end of file + upload-artifact: ${{ github.event_name == 'push' }} \ No newline at end of file