|
12 | 12 | runs-on: ubuntu-latest |
13 | 13 | outputs: |
14 | 14 | 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 |
16 | 16 | archive_filename: ${{ steps.archive_build.outputs.archive_name }} # Actual .tar.gz filename |
17 | 17 | steps: |
18 | 18 | - name: Checkout repository |
|
54 | 54 | if: startsWith(github.ref, 'refs/tags/v') # Condition: Only run for tags |
55 | 55 | uses: actions/upload-artifact@v4 |
56 | 56 | 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 |
59 | 59 |
|
60 | 60 | publish-npm: |
61 | 61 | needs: build |
|
65 | 65 | - name: Download build artifacts archive |
66 | 66 | uses: actions/download-artifact@v4 |
67 | 67 | with: |
68 | | - name: ${{ needs.build.outputs.artifact_name }} # Use consistent artifact name |
| 68 | + name: build-artifacts-archive # Use hardcoded name |
69 | 69 | path: . |
70 | 70 |
|
71 | 71 | - name: Extract build artifacts |
|
90 | 90 | - name: Download build artifacts archive |
91 | 91 | uses: actions/download-artifact@v4 |
92 | 92 | with: |
93 | | - name: ${{ needs.build.outputs.artifact_name }} # Use consistent artifact name |
| 93 | + name: build-artifacts-archive # Use hardcoded name |
94 | 94 | path: . |
95 | 95 |
|
96 | 96 | - name: Extract build artifacts |
@@ -140,7 +140,7 @@ jobs: |
140 | 140 | - name: Download build artifacts archive |
141 | 141 | uses: actions/download-artifact@v4 |
142 | 142 | with: |
143 | | - name: ${{ needs.build.outputs.artifact_name }} # Use consistent artifact name |
| 143 | + name: build-artifacts-archive # Use hardcoded name |
144 | 144 | path: . |
145 | 145 |
|
146 | 146 | - name: Extract build artifacts |
|
0 commit comments