Skip to content

Commit

Permalink
Fix artifact usage in code test CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Mar 28, 2024
1 parent e39f503 commit 351b605
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: pnpm test
env:
FORCE_COLOR: 1
- name: Upload artifacts
- name: Upload web assets
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
with:
Expand All @@ -50,10 +50,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download built assets artifacts
- name: Download web assets from test step
uses: actions/download-artifact@v4
with:
name: web-client-assets-${{ github.sha }}
path: web/dist/
- name: Auth Google Cloud
uses: google-github-actions/auth@v2
with:
Expand Down

0 comments on commit 351b605

Please sign in to comment.