File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Plugin zip
2+ on :
3+ push :
4+
5+ jobs :
6+ build-plugin :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ with :
11+ fetch-depth : 0
12+
13+ - name : Gradle wrapper validate
14+ uses : gradle/actions/wrapper-validation@v4
15+
16+ - name : Setup Java
17+ uses : actions/setup-java@v4
18+ with :
19+ distribution : ' temurin'
20+ java-version : 17
21+ cache : ' gradle'
22+
23+ - name : Install Babashka
24+ uses : DeLaGuardo/setup-clojure@master
25+ with :
26+ bb : ' 1.12.196'
27+
28+ - name : Build plugin
29+ run : bb build-plugin
30+
31+ - name : Prepare Plugin Artifact
32+ id : artifact
33+ shell : bash
34+ run : |
35+ cd ${{ github.workspace }}/build/distributions
36+ FILENAME=`ls *.zip`
37+ unzip "$FILENAME" -d content
38+
39+ echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT
40+
41+ - name : Upload artifact
42+ uses : actions/upload-artifact@v4
43+ with :
44+ name : ${{ steps.artifact.outputs.filename }}
45+ path : ./build/distributions/content/*/*
You can’t perform that action at this time.
0 commit comments