Skip to content

Commit

Permalink
Update step _Get Maven project version_ to prevent maven from resolvi…
Browse files Browse the repository at this point in the history
…ng dependencies (#13)

Signed-off-by: Sebastian Becker <[email protected]>
  • Loading branch information
grevend-bosch authored Nov 15, 2021
1 parent 9c4f135 commit 2728278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: short-sha
- uses: actions/checkout@v2
- name: Get Maven project version
run: echo ::set-output name=version::$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
run: echo ::set-output name=version::$(cat pom.xml| grep -m 1 -E "<version>(.*)</version>" | sed 's/.*<.*>\(.*\)<\/.*>/\1/g')
id: maven-project
draft-release:
runs-on: ubuntu-20.04
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<artifactId>mp-spdz-integration</artifactId>
<groupId>io.carbynestack</groupId>
<version>${revision}</version>
<version>0.2-SNAPSHOT</version>
<name>Carbyne Stack MP-SPDZ Integration Utilities</name>
<description>Integration utilities for MP-SPDZ MPC library</description>

Expand Down Expand Up @@ -46,7 +46,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<revision>0.2-SNAPSHOT</revision>
<skip.tests>false</skip.tests>
<java.version>1.8</java.version>

Expand Down

0 comments on commit 2728278

Please sign in to comment.