From f3b98f700930417d763a9ee4da1a65c4e4977b7a Mon Sep 17 00:00:00 2001 From: Stadnik Andrii Date: Tue, 19 Sep 2023 13:16:11 +0300 Subject: [PATCH] chore(CD): Add workflow parameter to artifact download --- .github/workflows/CD.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 27ecaf86..c87cd920 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -19,12 +19,14 @@ jobs: - uses: dawidd6/action-download-artifact@v2 with: pr: ${{github.event.pull_request.number}} + workflow: CI.yml name: executable path: bin/bot - uses: dawidd6/action-download-artifact@v2 if: github.base_ref == 'main' with: pr: ${{github.event.pull_request.number}} + workflow: CI.yml name: table - name: Restart bot @@ -42,14 +44,17 @@ jobs: - uses: dawidd6/action-download-artifact@v2 with: pr: ${{github.event.pull_request.number}} + workflow: CI.yml name: table - uses: dawidd6/action-download-artifact@v2 with: pr: ${{github.event.pull_request.number}} + workflow: CI.yml name: executable - uses: dawidd6/action-download-artifact@v2 with: pr: ${{github.event.pull_request.number}} + workflow: CI.yml name: apk - name: Release uses: softprops/action-gh-release@v1 @@ -70,6 +75,7 @@ jobs: - uses: dawidd6/action-download-artifact@v2 with: pr: ${{github.event.pull_request.number}} + workflow: CI.yml name: table - name: send telegram message on push