Skip to content

Commit 4c6da12

Browse files
committed
Fix release after advanced.yml was refactored to build runtime package (#229)
1 parent f0d1915 commit 4c6da12

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/workflows/advanced.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,12 @@ on:
5656
outputs:
5757
toolchain-package-name:
5858
value: ${{ jobs.build-toolchain.outputs.toolchain-package-name }}
59+
toolchain-artifact-name:
60+
value: ${{ jobs.build-toolchain.outputs.toolchain-artifact-name }}
5961
runtime-package-name:
6062
value: ${{ jobs.build-toolchain.outputs.runtime-package-name }}
63+
runtime-artifact-name:
64+
value: ${{ jobs.build-toolchain.outputs.runtime-artifact-name }}
6165
toolchain-cache-key:
6266
value: ${{ jobs.build-toolchain.outputs.toolchain-cache-key }}
6367
runtime-cache-key:
@@ -377,7 +381,9 @@ jobs:
377381

378382
outputs:
379383
toolchain-package-name: ${{ env.PACK_TOOLCHAIN == 'true' && env.TOOLCHAIN_PACKAGE_NAME || '' }}
384+
toolchain-artifact-name: ${{ env.PACK_TOOLCHAIN == 'true' && env.TOOLCHAIN_ARTIFACT_NAME || '' }}
380385
runtime-package-name: ${{ env.PACK_TOOLCHAIN == 'true' && env.RUNTIME_PACKAGE_NAME || '' }}
386+
runtime-artifact-name: ${{ env.PACK_TOOLCHAIN == 'true' && env.RUNTIME_ARTIFACT_NAME || '' }}
381387
toolchain-cache-key: ${{ env.PACK_TOOLCHAIN == 'true' && steps.cache-keys.outputs.toolchain-cache-key || '' }}
382388
runtime-cache-key: ${{ env.PACK_TOOLCHAIN == 'true' && steps.cache-keys.outputs.runtime-cache-key || '' }}
383389

.github/workflows/rebase.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,18 +247,25 @@ jobs:
247247
url: ${{steps.create-release.outputs.url }}
248248

249249
steps:
250-
- name: Download artifact
250+
- name: Download toolchain artifact
251251
uses: actions/download-artifact@v4
252252
with:
253-
name: ${{ needs.build.outputs.toolchain-package-name }}
253+
name: ${{ needs.build.outputs.toolchain-artifact-name }}
254+
255+
- name: Download runtime artifact
256+
uses: actions/download-artifact@v4
257+
with:
258+
name: ${{ needs.build.outputs.runtime-artifact-name }}
254259

255260
- name: Create tag
256261
run: |
257262
echo "TAG=$(date --rfc-3339=date)" >> ${GITHUB_ENV}
258263
259264
- name: Create release
260265
id: create-release
261-
uses: softprops/action-gh-release@v1
266+
uses: softprops/action-gh-release@v2
262267
with:
263-
files: ${{ needs.build.outputs.toolchain-package-name }}
268+
files: |
269+
${{ needs.build.outputs.toolchain-artifact-name }}
270+
${{ needs.build.outputs.runtime-artifact-name }}
264271
tag_name: ${{ env.TAG }}

0 commit comments

Comments
 (0)