Skip to content

Commit

Permalink
ci: use run id to download artifacts from triggered workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
greenpixels committed Mar 18, 2024
1 parent 6f4cedc commit f909f91
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/deploy-node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Download client and server artifacts
- name: Download client artifact
uses: actions/download-artifact@v4
with:
name: client
run-id: ${{ github.event.workflow_run.id }}

- name: Download client artifact
uses: actions/download-artifact@v4
with:
name: server
run-id: ${{ github.event.workflow_run.id }}

- name: Output folder structure
run: ls -a
run: ls -R -a

- name: Setup Private Key
run: |
Expand Down

0 comments on commit f909f91

Please sign in to comment.