File tree Expand file tree Collapse file tree 1 file changed +5
-30
lines changed
Expand file tree Collapse file tree 1 file changed +5
-30
lines changed Original file line number Diff line number Diff line change 33name : upload-algorithms
44
55on :
6- repository_dispatch :
7- types : manual-publish
86 release :
9- types : [ created ]
7+ types : [published ]
108
119jobs :
1210 publish :
13-
1411 runs-on : ubuntu-latest
1512
1613 steps :
1714 - name : Checkout
1815 uses : actions/checkout@v4
1916
20- - name : Set up JDK
21- uses : actions/setup-java@v4
22- with :
23- distribution : ' temurin'
24- java-version : ' 21'
25- cache : ' maven'
26-
27- - name : Cache Maven packages
28- uses : actions/cache@v4
29- with :
30- path : ~/.m2/repository
31- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
32- restore-keys : |
33- ${{ runner.os }}-maven-
34-
35- - name : Create algorithm zips
36- if : ${{startsWith(github.ref, 'refs/tags/v') }}
37- run : |
38- chmod +x gradlew
39- ./gradlew zipAlgorithms
40-
4117 - name : Add algorithms to release
4218 uses : softprops/action-gh-release@v1
43- if : ${{startsWith(github.ref, 'refs/tags/v') }}
4419 with :
4520 files : |
46- target /test-classes /algorithms/cs-*.zip
47- target /test-classes /algorithms/eod_public-*.zip
48- target /test-classes /algorithms/pediatric-*.zip
49- target /test-classes /algorithms/tnm-*.zip
21+ src /test/resources /algorithms/cs-*.zip
22+ src /test/resources /algorithms/eod_public-*.zip
23+ src /test/resources /algorithms/pediatric-*.zip
24+ src /test/resources /algorithms/tnm-*.zip
You can’t perform that action at this time.
0 commit comments