Skip to content

Commit

Permalink
Update Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
uwu-gl authored Apr 27, 2024
1 parent 8d9e62c commit 33af6eb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ jobs:
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Prepare zip
run: find -type f | awk -F "." '{print $2} xargs -i -t mv ./{}.zip
- name: Zip AnyKernel3
run: |
for dir in AnyKernel3_*; do
if [ -d "$dir" ]; then
echo "----- Zip $dir -----"
(cd $dir && zip -r9 "$dir".zip ./* -x .git .gitignore ./*.zip && mv *.zip ..)
fi
done
- name: Set up date
run: echo "BUILD_TIME=$(TZ=Asia/Shanghai date "+%Y%m%d%H%M")" >> $GITHUB_ENV && ls
Expand Down

0 comments on commit 33af6eb

Please sign in to comment.