Release #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
build-manager: | |
uses: ./.github/workflows/build-manager.yml | |
secrets: inherit | |
release: | |
needs: | |
- build-manager | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download artifacts | |
uses: actions/download-artifact@v3 | |
- 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: Zip WSA kernel | |
run: | | |
for dir in kernel-WSA-*; do | |
if [ -d "$dir" ]; then | |
echo "------ Zip $dir ----------" | |
(cd $dir && zip -r9 "$dir".zip ./* -x .git .gitignore ./*.zip && mv *.zip ..) | |
fi | |
done | |
- name: Zip ChromeOS ARCVM kernel | |
run: | | |
for dir in kernel-ARCVM-*; do | |
if [ -d "$dir" ]; then | |
echo "------ Zip $dir ----------" | |
(cd $dir && zip -r9 "$dir".zip ./* -x .git .gitignore ./*.zip && mv *.zip ..) | |
fi | |
done | |
- name: Display structure of downloaded files | |
run: ls -R | |