Skip to content

Commit 86a4816

Browse files
committed
fix(workflow): 💚 merged push pom and tag in single job
1 parent f425c0a commit 86a4816

File tree

3 files changed

+6
-31
lines changed

3 files changed

+6
-31
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,10 @@ jobs:
204204
${{ github.workspace }}/core-java/target
205205
${{ github.workspace }}/core-java/pom.xml
206206
207-
push-pom:
207+
push-pom-tag:
208208
runs-on: ubuntu-latest
209209
needs:
210+
- prepare-release
210211
- release
211212

212213
steps:
@@ -252,45 +253,19 @@ jobs:
252253
default_author: user_info
253254
commit: --no-verify
254255

255-
push-tag:
256-
runs-on: ubuntu-latest
257-
needs:
258-
- prepare-release
259-
- push-pom
260-
261-
steps:
262-
- name: Check out Git repository
263-
uses: actions/checkout@v3
264-
with:
265-
token: ${{ env.PUSH_TOKEN }}
266-
267-
- name: Download target folder
268-
uses: actions/download-artifact@v3
269-
with:
270-
name: target
271-
272-
- name: Import GPG key
273-
uses: crazy-max/ghaction-import-gpg@v5
274-
with:
275-
gpg_private_key: ${{ env.GPG_PRIVATE_KEY }}
276-
passphrase: ${{ env.GPG_PASSPHRASE }}
277-
git_user_signingkey: true
278-
git_commit_gpgsign: true
279-
280256
- name: Create and Push Tag
281257
uses: EndBug/add-and-commit@v9
282258
with:
283259
tag: v${{ needs.prepare-release.outputs.new-version }}
284260
message: 🎉 Released to Maven central [skip ci]
285261
default_author: user_info
286262
push: true
287-
pull: '--rebase'
288263

289264
github-release-tweet:
290265
runs-on: ubuntu-latest
291266
needs:
292267
- prepare-release
293-
- push-tag
268+
- push-pom-tag
294269

295270
steps:
296271
- name: Check out Git repository

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Use this space to tell a little more about your project and how it can be used.
172172
<dependency>
173173
<groupId>com.github.wasiqb.boyka</groupId>
174174
<artifactId>boyka-framework</artifactId>
175-
<version>0.4.0</version>
175+
<version>0.7.0</version>
176176
</dependency>
177177
```
178178

website/docs/framework-docs/getting-started/usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can start by adding the following dependency to your `pom.xml` file:
1111
<dependency>
1212
<groupId>com.github.wasiqb.boyka</groupId>
1313
<artifactId>boyka-framework</artifactId>
14-
<version>0.6.0</version>
14+
<version>0.7.0</version>
1515
</dependency>
1616
```
1717

@@ -20,7 +20,7 @@ You can start by adding the following dependency to your `pom.xml` file:
2020
You can start by adding the following dependency to your `build.gradle` file:
2121

2222
```groovy title=build.gradle
23-
compile "com.github.wasiqb.boyka:boyka-framework:0.6.0"
23+
compile "com.github.wasiqb.boyka:boyka-framework:0.7.0"
2424
```
2525

2626
## Download the jar

0 commit comments

Comments
 (0)