Skip to content

Commit

Permalink
Move changelog print out of .circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jan 7, 2023
1 parent 1b2c449 commit 878d003
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,6 @@ jobs:
path: lib-extra/build/test-results/test
- store_test_results:
path: plugin-gradle/build/test-results/test
changelog_print:
<< : *env_gradle
steps:
- checkout
- *restore_cache_wrapper
- *restore_cache_deps
- run:
name: gradlew changelogPrint
command: ./gradlew changelogPrint
do_release_all:
<< : *env_gradle
steps:
Expand Down Expand Up @@ -276,46 +267,26 @@ workflows:
- assemble_testClasses
deploy:
jobs:
- changelog_print:
filters:
branches:
only: main
- release_all:
type: approval
requires:
- changelog_print
- do_release_all:
requires:
- release_all
context:
- SonatypeDeploy
- release_plugin_gradle:
type: approval
requires:
- changelog_print
- do_release_plugin_gradle:
requires:
- release_plugin_gradle
context:
- SonatypeDeploy
- release_plugin_maven:
type: approval
requires:
- changelog_print
- do_release_plugin_maven:
requires:
- release_plugin_maven
context:
- SonatypeDeploy
- release_lib:
type: approval
requires:
- changelog_print
- do_release_lib:
requires:
- release_lib
context:
- SonatypeDeploy
ext_deploy:
jobs:
- ext_changelog_print:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/changelog-print.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: changelogPrint

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
name: changelogPrint
steps:
- uses: actions/checkout@v3
- name: jdk 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: gradle caching
uses: gradle/gradle-build-action@v2
- run: ./gradlew changelogPrint

0 comments on commit 878d003

Please sign in to comment.