Skip to content

Commit 01a1a4d

Browse files
committed
chore(ci): Revert path in upload-artifact, keep quotes on name
1 parent b87ed7e commit 01a1a4d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
outputs:
1414
version: ${{ steps.get_version.outputs.version }}
15-
artifact_name: build-artifacts-archive # Consistent name for upload/download
15+
# artifact_name: build-artifacts-archive # Removed this output
1616
archive_filename: ${{ steps.archive_build.outputs.archive_name }} # Actual .tar.gz filename
1717
steps:
1818
- name: Checkout repository
@@ -54,8 +54,8 @@ jobs:
5454
if: startsWith(github.ref, 'refs/tags/v') # Condition: Only run for tags
5555
uses: actions/upload-artifact@v4
5656
with:
57-
name: build-artifacts-archive # Use the actual name directly here
58-
path: ${{ steps.archive_build.outputs.archive_name }}
57+
name: "build-artifacts-archive"
58+
path: ${{ steps.archive_build.outputs.archive_name }} # Revert path to use step output
5959

6060
publish-npm:
6161
needs: build
@@ -65,7 +65,7 @@ jobs:
6565
- name: Download build artifacts archive
6666
uses: actions/download-artifact@v4
6767
with:
68-
name: ${{ needs.build.outputs.artifact_name }} # Use consistent artifact name
68+
name: build-artifacts-archive # Use hardcoded name
6969
path: .
7070

7171
- name: Extract build artifacts
@@ -90,7 +90,7 @@ jobs:
9090
- name: Download build artifacts archive
9191
uses: actions/download-artifact@v4
9292
with:
93-
name: ${{ needs.build.outputs.artifact_name }} # Use consistent artifact name
93+
name: build-artifacts-archive # Use hardcoded name
9494
path: .
9595

9696
- name: Extract build artifacts
@@ -140,7 +140,7 @@ jobs:
140140
- name: Download build artifacts archive
141141
uses: actions/download-artifact@v4
142142
with:
143-
name: ${{ needs.build.outputs.artifact_name }} # Use consistent artifact name
143+
name: build-artifacts-archive # Use hardcoded name
144144
path: .
145145

146146
- name: Extract build artifacts

0 commit comments

Comments
 (0)