You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2025/12/13 14:14:32 UTC
(grails-plugins-metadata) 01/01: ci: try fixing a working dir issue
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch fix-workflow
in repository https://gitbox.apache.org/repos/asf/grails-plugins-metadata.git
commit 5ec28bfa12cfaeb932555e04511644d562514fb0
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Sat Dec 13 15:14:02 2025 +0100
ci: try fixing a working dir issue
---
.github/actions/update-plugin-index/Dockerfile | 3 +--
.github/actions/update-plugin-index/action.yml | 7 +++++++
.../index-plugins.groovy => index-plugins.groovy | 0
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.github/actions/update-plugin-index/Dockerfile b/.github/actions/update-plugin-index/Dockerfile
index d5d0911..235d9b0 100644
--- a/.github/actions/update-plugin-index/Dockerfile
+++ b/.github/actions/update-plugin-index/Dockerfile
@@ -1,3 +1,2 @@
FROM groovy:4.0.27-jdk17
-COPY index-plugins.groovy /index-plugins.groovy
-ENTRYPOINT ["groovy", "index-plugins.groovy"]
+ENTRYPOINT ["groovy", "index-plugins.groovy"]
\ No newline at end of file
diff --git a/.github/actions/update-plugin-index/action.yml b/.github/actions/update-plugin-index/action.yml
new file mode 100644
index 0000000..fa06d61
--- /dev/null
+++ b/.github/actions/update-plugin-index/action.yml
@@ -0,0 +1,7 @@
+name: Update Plugin Index
+description: Fetch the latest versions from a given Maven Metadata URL and add
+ any new versions to the plugin yml files in the grails-plugins directory.
+ Generate grails-plugins-index.json file in the project root.
+runs:
+ using: docker
+ image: Dockerfile
diff --git a/.github/actions/update-plugin-index/index-plugins.groovy b/index-plugins.groovy
similarity index 100%
rename from .github/actions/update-plugin-index/index-plugins.groovy
rename to index-plugins.groovy