File tree Expand file tree Collapse file tree 14 files changed +50
-13
lines changed
Expand file tree Collapse file tree 14 files changed +50
-13
lines changed Original file line number Diff line number Diff line change 1+ # Description
2+ # ===========
3+ # This workflow is triggered each time a release is created
4+ # It push I-Code to github repository
5+ ---
6+ name : Push release
7+
8+ on :
9+ release :
10+ types : [created]
11+
12+ jobs :
13+ release :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : write
17+ packages : write
18+ steps :
19+ - name : Check out repository code
20+ uses : actions/checkout@v4
21+ - name : Setup java
22+ uses : actions/setup-java@v4
23+ with :
24+ distribution : ' adopt'
25+ java-version : ' 11'
26+ - name : Cache Maven packages
27+ uses : actions/cache@v4
28+ with :
29+ path : ~/.m2
30+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
31+ restore-keys : ${{ runner.os }}-m2
32+ - name : Publish on github repository
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ run : mvn --batch-mode deploy
36+
37+
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >export-csv</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >export-xml</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >fortran77-language</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >fortran77-metrics</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >fortran77-rules</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >fortran90-language</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >fortran90-metrics</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >fortran90-rules</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >fr.cnes.icode</groupId >
99 <artifactId >parent</artifactId >
10- <version >dev </version >
10+ <version >5.1.0 </version >
1111 </parent >
1212
1313 <artifactId >icode-app</artifactId >
You can’t perform that action at this time.
0 commit comments