@@ -77,35 +77,35 @@ jobs:
7777 fetch-depth : 1
7878 ref : " refs/tags/${{ env.RELEASE_TAG }}"
7979 path : junit-framework
80- - name : Check out samples repository
80+ - name : Check out examples repository
8181 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8282 with :
83- repository : ${{ github.repository_owner }}/junit5-samples
84- token : ${{ secrets.JUNIT_BUILDS_GITHUB_TOKEN_SAMPLES_REPO }}
83+ repository : ${{ github.repository_owner }}/junit-examples
84+ token : ${{ secrets.JUNIT_BUILDS_GITHUB_TOKEN_EXAMPLES_REPO }}
8585 fetch-depth : 1
86- path : junit5-samples
86+ path : junit-examples
8787 - name : Set up JDK
8888 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
8989 with :
9090 java-version : 21
9191 distribution : temurin
9292 - uses : sbt/setup-sbt@26ab4b0fa1c47fa62fc1f6e51823a658fb6c760c # v1.1.7
93- - name : Update JUnit dependencies in samples
93+ - name : Update JUnit dependencies in examples
9494 run : java src/Updater.java ${{ inputs.releaseVersion }}
95- working-directory : junit5-samples
95+ working-directory : junit-examples
9696 - name : Prepare Maven Central user token
9797 uses : ./junit-framework/.github/actions/maven-central-user-token
9898 with :
9999 username : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
100100 password : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
101101 - name : Inject staging repository URL
102102 run : java src/StagingRepoInjector.java ${{ env.STAGING_REPO_URL }}
103- working-directory : junit5-samples
104- - name : Build samples
105- run : java src/Builder.java --exclude=junit5 -jupiter-starter-bazel,junit5 -jupiter-starter-sbt
106- working-directory : junit5-samples
103+ working-directory : junit-examples
104+ - name : Build examples
105+ run : java src/Builder.java --exclude=junit -jupiter-starter-bazel,junit -jupiter-starter-sbt
106+ working-directory : junit-examples
107107 env :
108- MAVEN_ARGS : --settings ${{ github.workspace }}/junit5-samples /src/central-staging-maven-settings.xml --activate-profiles central-staging
108+ MAVEN_ARGS : --settings ${{ github.workspace }}/junit-examples /src/central-staging-maven-settings.xml --activate-profiles central-staging
109109
110110 close_github_milestone :
111111 name : Close GitHub milestone
@@ -231,26 +231,26 @@ jobs:
231231 curl --silent --fail --location --output /tmp/junit-user-guide.pdf "${{ steps.pagesDeployment.outputs.pdfUrl }}"
232232 pdfinfo /tmp/junit-user-guide.pdf
233233
234- update_samples :
235- name : Update samples
234+ update_examples :
235+ name : Update examples
236236 needs : publish_deployment
237237 runs-on : ubuntu-latest
238238 steps :
239- - name : Check out samples repository
239+ - name : Check out examples repository
240240 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
241241 with :
242- repository : ${{ github.repository_owner }}/junit5-samples
243- token : ${{ secrets.JUNIT_BUILDS_GITHUB_TOKEN_SAMPLES_REPO }}
242+ repository : ${{ github.repository_owner }}/junit-examples
243+ token : ${{ secrets.JUNIT_BUILDS_GITHUB_TOKEN_EXAMPLES_REPO }}
244244 fetch-depth : 1
245245 - name : Set up JDK
246246 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
247247 with :
248248 java-version : 21
249249 distribution : temurin
250250 - uses : sbt/setup-sbt@26ab4b0fa1c47fa62fc1f6e51823a658fb6c760c # v1.1.7
251- - name : Update JUnit dependencies in samples
251+ - name : Update JUnit dependencies in examples
252252 run : java src/Updater.java ${{ inputs.releaseVersion }}
253- - name : Build samples
253+ - name : Build examples
254254 if : ${{ inputs.dryRun == false }}
255255 run : java src/Builder.java
256256 - name : Create release branch
@@ -274,7 +274,7 @@ jobs:
274274 create_github_release :
275275 name : Create GitHub release
276276 if : ${{ inputs.dryRun == false }}
277- needs : [ publish_documentation, update_samples ]
277+ needs : [ publish_documentation, update_examples ]
278278 runs-on : ubuntu-latest
279279 permissions :
280280 contents : write
0 commit comments