Skip to content

Commit

Permalink
chore(CD): Add workflow parameter to artifact download
Browse files Browse the repository at this point in the history
  • Loading branch information
anstadnik committed Sep 19, 2023
1 parent 44e3551 commit f3b98f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f3b98f7

Please sign in to comment.