We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5082ae3 commit f1cac5dCopy full SHA for f1cac5d
1 file changed
.github/workflows/ci.yml
@@ -54,8 +54,19 @@ jobs:
54
- name: Create Zip and Pom Artifact
55
run: |
56
filenameZip=$(find . -name "grails-*.zip" | head -1)
57
- printenv $filenameZip
58
-
+ filenameZip=$(basename $filenameZip)
+ pluginZip=${filenameZip:7}
59
+ mv $filenameZip $pluginZip
60
+ sha1sum $pluginZip | cut -d " " -f 1 >> $pluginZip.sha1
61
+ name=${pluginZip/.zip/}
62
+ version="${name#*-}"
63
+ filenamePom=$(find . -name "pom.xml" | head -1)
64
+ mv $filenamePom ./tomcat-${version}.pom
65
+ filenamePom=$(basename $filenamePom)
66
+ sha1sum tomcat-${version}.pom | cut -d " " -f 1 >> tomcat-${version}.pom.sha1
67
+ mkdir -p ./plugin-artifacts
68
+ mv tomcat-* ./plugin-artifacts/.
69
+
70
- uses: actions/upload-artifact@v1
71
with:
72
name: plugin-artifacts
0 commit comments