remove manifest gen #9
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: Package autoscripts | ||
on: | ||
push: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
jobs: | ||
tar_directories: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Tgz directories | ||
run: | | ||
for dir in ./src/*; do | ||
echo $dir | ||
if [ -d "$dir" ]; then | ||
pkgname=$(basename $dir) | ||
tar -czvf ./packages/${pkgname}.tgz $dir | ||
fi | ||
done | ||
- name: Commit autoscripts packages | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: './packages/*.tgz' 'manifest' | ||
author_name: Eggheads Autoscripts | ||
author_email: [email protected] | ||
default_author: user_info | ||
message: Update autoscripts | ||
push: true |