Skip to content

Commit

Permalink
chore(ci): fix inconsistency between nightly and release of artalk_ui
Browse files Browse the repository at this point in the history
  • Loading branch information
kilesduli committed Nov 23, 2024
1 parent 71b73a3 commit f78f874
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ jobs:
- name: Pack UI
id: pack
run: |
SRC_FILE=$(pnpm pack -C ui/artalk --pack-destination ../.. | tail -n 1)
mkdir -p ./local/artalk_ui
cp -r ./public/dist ./public/sidebar ./local/artalk_ui
mkdir -p bin
PKG_FILE="bin/artalk_frontend_nigthly_$(date +'%Y%m%d').tar.gz"
mkdir -p ./local/nightly_includes
tar -czf ./local/nightly_includes/artalk_ui_nightly.tar.gz -C ./local artalk_ui
mv $SRC_FILE $PKG_FILE
echo "pkg_file=$PKG_FILE" >> $GITHUB_OUTPUT
echo "pkg_file=local/nightly_includes/artalk_ui_nightly.tar.gz" >> $GITHUB_OUTPUT
- name: Upload UI
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f78f874

Please sign in to comment.