Skip to content

Commit 81b01dc

Browse files
committed
ci(publish): export variable and create directory for assets
Update the GitHub Actions workflow to export the RELEASE_ASSETS_PATH variable and ensure the directory is created before usage. This change prevents errors related to missing directories when renaming artifacts.
1 parent 4e65844 commit 81b01dc

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949

5050
- name: rename artifacts from zip folders
5151
run: |
52-
$RELEASE_ASSETS_PATH="release-assets" # specific to release-it.json config
52+
export RELEASE_ASSETS_PATH="release-assets" # specific to release-it.json config
53+
mkdir -p "$RELEASE_ASSETS_PATH"
5354
for dir in */ ; do
5455
arch="${dir%/}"
5556
if [ -f "$dir/oneseal" ]; then

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)