Skip to content

Commit a9b264f

Browse files
committed
build: try deploy key
- Try deploy key
1 parent 16d2516 commit a9b264f

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/prepare_release.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v5
21+
with:
22+
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
2123

2224
- name: Set up JDK 8
2325
uses: actions/setup-java@v5
@@ -40,16 +42,4 @@ jobs:
4042
run: |
4143
./mvnw release:prepare -DskipTests -Darguments=-DskipTests \
4244
-DreleaseVersion="$RELEASE_VERSION" -Dtag="$RELEASE_VERSION" \
43-
-DdevelopmentVersion="$DEVELOPMENT_VERSION" -DpushChanges=false
44-
45-
- name: Change remote origin to HTTPS
46-
run: |
47-
git remote set-url origin https://github.com/${GITHUB_REPOSITORY}.git
48-
49-
- name: Push release tag
50-
env:
51-
GITHUB_ACTOR: ${{ github.actor }}
52-
GITHUB_TOKEN: ${{ github.token }}
53-
run: |
54-
echo "GITHUB ACTOR: ${{ github.actor }}"
55-
git push origin master --follow-tags
45+
-DdevelopmentVersion="$DEVELOPMENT_VERSION"

0 commit comments

Comments
 (0)