From ce59e96cdb20cd53438c849f71a2e6ff85901f91 Mon Sep 17 00:00:00 2001 From: David Baker Effendi Date: Wed, 30 Oct 2024 21:09:22 +0200 Subject: [PATCH] Fixed over-zealous trim with `-maxdepth 1` --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ef1077..6044a90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,7 @@ jobs: java -jar jruby.jar -S gem install bundler -v 2.5.21 --install-dir ${GEM_HOME} java -jar jruby.jar -S bundle install - find vendor/bundle/jruby/3.1.0/ -mindepth 1 -type d ! -name "gems" -exec rm -rf {} + + find vendor/bundle/jruby/3.1.0 -mindepth 1 -maxdepth 1 -type d ! -name "gems" -exec rm -rf {} + zip -r ruby_ast_gen_${{ steps.taggerDryRun.outputs.new_tag }}.zip \ lib exe sig vendor README.md LICENSE.txt Rakefile Gemfile ruby_ast_gen.gemspec