@@ -3,6 +3,11 @@ name: Release to staging
33on :
44 release :
55 types : [ "created" ]
6+ push :
7+ branches : [ "jschneidereit/fix-multimodule-deploy" ]
8+
9+ env :
10+ MAVEN_ARGS : -B -V -ntp -e -Dstyle.color=always
611
712jobs :
813 build :
@@ -20,10 +25,10 @@ jobs:
2025 server-password : ' MAVEN_PASSWORD'
2126 gpg-private-key : ${{ secrets.GPG_SIGNING_KEY }}
2227 gpg-passphrase : ' MAVEN_GPG_PASSPHRASE'
23- - name : Get hyperd version
24- id : evaluate-property
25- run : |
26- echo "HYPER_VERSION=$(mvn help:evaluate -Dexpression=hyperapi.version -q -DforceStdout)" >> $GITHUB_ENV
28+ # - name: Get hyperd version
29+ # id: evaluate-property
30+ # run: |
31+ # echo "HYPER_VERSION=$(mvn help:evaluate -Dexpression=hyperapi.version -q -DforceStdout)" >> $GITHUB_ENV
2732 - name : Cache hyperd
2833 uses : actions/cache@v3
2934 with :
@@ -32,10 +37,13 @@ jobs:
3237 key : ${{ runner.os }}-hyper-${{ env.HYPER_VERSION }}
3338 restore-keys : |
3439 ${{ runner.os }}-hyper-${{ env.HYPER_VERSION }}
35- - name : Set version
36- run : mvn versions:set --no-transfer-progress -DnewVersion=${{ github.event.release.tag_name }}
37- - name : Build with Maven
38- run : mvn --batch-mode --no-transfer-progress clean deploy -P release --file pom.xml
40+ env :
41+ HYPER_VERSION : " 0.0.21200.re11c8cb9"
42+ # TODO: JIM
43+ # - name: Set version
44+ # run: mvn versions:set --no-transfer-progress -DnewVersion=${{ github.event.release.tag_name }}
45+ - name : Deploy with Maven
46+ run : mvn $MAVEN_ARGS clean deploy -P release --file pom.xml -DskipTests
3947 env :
4048 MAVEN_USERNAME : ${{ secrets.CENTRAL_TOKEN_USERNAME }}
4149 MAVEN_PASSWORD : ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
0 commit comments