From 17489611382d9671acefe54a879a35a8f8571dcf Mon Sep 17 00:00:00 2001 From: Kacper Date: Wed, 4 Sep 2024 21:35:50 +0200 Subject: [PATCH] fix --- .github/workflows/dev.vulnrepo.yml | 4 +++- .github/workflows/vulnrepo.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev.vulnrepo.yml b/.github/workflows/dev.vulnrepo.yml index aef53c1af..eba31779e 100644 --- a/.github/workflows/dev.vulnrepo.yml +++ b/.github/workflows/dev.vulnrepo.yml @@ -31,7 +31,7 @@ jobs: npm run build -- -c production - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.0.0 + uses: actions/upload-artifact@v4 with: name: deploy_dist path: dist @@ -50,6 +50,8 @@ jobs: - name: Download build uses: actions/download-artifact@v4 with: + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.TOKEN }} name: deploy_dist path: . diff --git a/.github/workflows/vulnrepo.yml b/.github/workflows/vulnrepo.yml index 8d6c90150..9a252155d 100644 --- a/.github/workflows/vulnrepo.yml +++ b/.github/workflows/vulnrepo.yml @@ -31,7 +31,7 @@ jobs: npm run build -- -c production - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.0.0 + uses: actions/upload-artifact@v4 with: name: deploy_dist path: dist @@ -50,6 +50,8 @@ jobs: - name: Download build uses: actions/download-artifact@v4 with: + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.TOKEN }} name: deploy_dist path: .