Skip to content

Commit

Permalink
Try to fix CI failure caused by non-unique name (meta) passed to down…
Browse files Browse the repository at this point in the history
…load-artifact

```
Unable to download artifact(s): Artifact not found for name: meta
        Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
        For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
```
See also https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md#multiple-uploads-to-the-same-named-artifact
  • Loading branch information
gjsjohnmurray committed Sep 20, 2024
1 parent c835561 commit 8cd1e53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
path: ${{ steps.set-version.outputs.name }}.vsix
- uses: actions/upload-artifact@v4
with:
name: meta
name: meta-build
path: |
.name
.version
Expand All @@ -88,7 +88,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: meta
name: meta-beta
path: .
- name: Set an output
id: set-version
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
token: ${{ secrets.TOKEN }}
- uses: actions/download-artifact@v4
with:
name: meta
name: meta-publish
path: .
- name: Use Node.js
uses: actions/setup-node@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
path: ${{ steps.set-version.outputs.name }}.vsix
- uses: actions/upload-artifact@v4
with:
name: meta
name: meta-build
path: |
.name
.version
Expand All @@ -83,7 +83,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: meta
name: meta-beta
path: .
- name: Set an output
id: set-version
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
token: ${{ secrets.TOKEN }}
- uses: actions/download-artifact@v4
with:
name: meta
name: meta-publish
path: .
- name: Use Node.js
uses: actions/setup-node@v4
Expand Down

0 comments on commit 8cd1e53

Please sign in to comment.