Skip to content

Commit f47b28a

Browse files
committed
release in dry-run
1 parent 97cf0d1 commit f47b28a

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
### Maven Tests
66
- Definition
7-
- run `mvn clean install -B -ntp -Dua.test.integration=false`
7+
- run `mvn clean install -B -ntp -Dgpg.skip=true`
88
- Trigger
99
- workflow_dispatch (manual trigger) via the Actions tab. Select your target branch/PR before running.
1010

.github/workflows/maven-release.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Perform Maven Release (Standalone)
22

33
on:
4-
workflow_dispatch:
4+
push:
5+
branches:
6+
- "INFRA-8096"
7+
#workflow_dispatch:
58

69
permissions:
710
contents: write
@@ -44,20 +47,22 @@ jobs:
4447
- name: Run Maven Release
4548
run: |
4649
mvn -B -ntp \
47-
-Darguments="-Dmaven.javadoc.skip=true -DskipTests=true -DaltReleaseDeploymentRepository=releases::default::gs://airship-maven-artifacts/releases -DaltDeploymentRepository=releases::default::gs://airship-maven-artifacts/releases -Dgpg.keyname=B85D4DAEA102C95F" \
50+
-Darguments="-Dmaven.javadoc.skip=true -DskipTests=true -Dgpg.keyname=B85D4DAEA102C95F" \
4851
-Dresume=false \
4952
-DscmCommentPrefix="[github] [skip ci] " \
5053
-DtagNameFormat=@{project.version} \
5154
-DpushChanges=false \
5255
-DlocalCheckout=true \
53-
release:prepare release:perform
56+
-DdryRun=true \
57+
release:prepare
58+
#release:perform
5459
env:
5560
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
5661
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
5762
MAVEN_GPG_PASSPHRASE: ${{ secrets.SONATYPE_GPG_PASSPHRASE }}
5863

59-
- name: Push Changes & Tags
60-
if: success()
61-
run: |
62-
git push origin master
63-
git push origin --tags
64+
# - name: Push Changes & Tags
65+
# if: success()
66+
# run: |
67+
# git push origin master
68+
# git push origin --tags

.github/workflows/maven-tests.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,5 @@ jobs:
3232
distribution: 'temurin'
3333
cache: 'maven'
3434

35-
# - name: Authenticate to Google Cloud
36-
# uses: google-github-actions/auth@v3
37-
# with:
38-
# credentials_json: ${{ secrets.JAVA_BUILD_PUBLIC_SA_KEY }}
39-
4035
- name: Build with Maven
4136
run: mvn clean install -B -ntp -Dgpg.skip=true

0 commit comments

Comments
 (0)