Skip to content

Commit 5fc15c8

Browse files
Publish to GitHub registry (#245)
* ci: push to github registry * Update package version to 5.1.0
1 parent f7bf365 commit 5fc15c8

File tree

14 files changed

+50
-13
lines changed

14 files changed

+50
-13
lines changed

.github/workflows/push-release.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+

export-csv/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

export-xml/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

fortran77-language/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

fortran77-metrics/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

fortran77-rules/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

fortran90-language/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

fortran90-metrics/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

fortran90-rules/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

icode-app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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>

0 commit comments

Comments
 (0)