Skip to content

Release #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
327e9da
Merge pull request #165 from xdev-software/master
AB-xdev May 27, 2024
4575336
Only run sonar workflow when secret is present
AB-xdev May 27, 2024
6f7e084
Merge pull request #167 from xdev-software/update-from-template
AB-xdev May 27, 2024
edb649d
Update sonar.yml
AB-xdev May 27, 2024
d0335d3
Update sonar.yml
AB-xdev May 27, 2024
403faee
Secrets are not available in if
AB-xdev May 27, 2024
0119c07
Merge remote-tracking branch 'origin/update-from-template' into develop
AB-xdev May 27, 2024
d562e83
Update dependency org.sonatype.plugins:nexus-staging-maven-plugin to …
xdev-renovate May 28, 2024
bef3a77
Don't run sonar token check when not required
AB-xdev May 28, 2024
8385277
Merge pull request #59 from xdev-software/renovate/org.sonatype.plugi…
AB-xdev May 28, 2024
8d48e75
Compact/Flatten pom on release
AB-xdev May 28, 2024
439d244
Merge branch 'master' of https://github.com/xdev-software/standard-ma…
AB-xdev May 28, 2024
a16ac06
Standardize job names
AB-xdev May 28, 2024
4de451f
Substitute using repo name
AB-xdev May 28, 2024
21769fc
Normalize workflow names
AB-xdev May 28, 2024
7ab8666
Update dependency org.apache.maven.plugins:maven-site-plugin to v4.0.…
xdev-renovate Jun 1, 2024
3b682e8
Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3…
xdev-renovate Jun 1, 2024
f597d1e
Merge pull request #61 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jun 3, 2024
087eead
Merge pull request #60 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jun 3, 2024
0a48eee
Update update-from-template.yml
AB-xdev Jun 3, 2024
b68fe41
Ignore github pages
AB-xdev Jun 3, 2024
dbbac68
Update update-from-template.yml
AB-xdev Jun 3, 2024
100b498
Merge remote-tracking branch 'origin/update-from-template'
AB-xdev Jun 3, 2024
d45d8f8
Merge remote-tracking branch 'origin/update-from-template' into develop
AB-xdev Jun 3, 2024
a96e946
Update update-from-template.yml
AB-xdev Jun 3, 2024
756b2bc
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 3, 2024
8aef498
Update update-from-template.yml
AB-xdev Jun 3, 2024
95142bb
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 3, 2024
e48734d
Update update-from-template.yml
AB-xdev Jun 4, 2024
acd6b4a
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 4, 2024
01b0adb
Added ``@JsonIgnore`` to prevent infinitive loops
AB-xdev Jun 5, 2024
2dd14c3
Corrected model for ``Title`` and ``Font``
AB-xdev Jun 5, 2024
609cc2b
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jun 5, 2024
0c59c9e
Merge pull request #177 from xdev-software/update-from-template-merged
AB-xdev Jun 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
pull-requests: write

jobs:
check_code: # Validates the code
check-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -45,9 +45,9 @@ jobs:
exit 1
fi

prepare_release:
prepare-release:
runs-on: ubuntu-latest
needs: [check_code]
needs: [check-code]
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
Expand Down Expand Up @@ -93,8 +93,8 @@ jobs:
release_name: v${{ steps.version.outputs.release }}
commitish: master
body: |
## [Changelog](https://github.com/xdev-software/${{ env.PRIMARY_MAVEN_MODULE }}/blob/develop/CHANGELOG.md#${{ steps.version.outputs.releasenumber }})
See [Changelog#v${{ steps.version.outputs.release }}](https://github.com/xdev-software/${{ env.PRIMARY_MAVEN_MODULE }}/blob/develop/CHANGELOG.md#${{ steps.version.outputs.releasenumber }}) for more information.
## [Changelog](https://github.com/${{ github.repository }}/blob/develop/CHANGELOG.md#${{ steps.version.outputs.releasenumber }})
See [Changelog#v${{ steps.version.outputs.release }}](https://github.com/${{ github.repository }}/blob/develop/CHANGELOG.md#${{ steps.version.outputs.releasenumber }}) for more information.

## Installation
Add the following lines to your pom:
Expand All @@ -106,9 +106,9 @@ jobs:
</dependency>
```

publish_central: # Publish the code to central
publish-maven:
runs-on: ubuntu-latest
needs: [prepare_release]
needs: [prepare-release]
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:

publish-pages:
runs-on: ubuntu-latest
needs: [prepare_release]
needs: [prepare-release]
steps:
- uses: actions/checkout@v4

Expand All @@ -166,9 +166,9 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./${{ env.PRIMARY_MAVEN_MODULE }}/target/site

after_release:
after-release:
runs-on: ubuntu-latest
needs: [publish_central]
needs: [publish-maven]
steps:
- uses: actions/checkout@v4

Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,22 @@ env:
SONARCLOUD_HOST: https://sonarcloud.io

jobs:
sonar:
name: SonarCloud Scan
token-check:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
if: ${{ !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/')) }}
outputs:
hasToken: ${{ steps.check-token.outputs.has }}
steps:
- id: check-token
run: |
[ -z $SONAR_TOKEN ] && echo "has=false" || echo "has=true" >> "$GITHUB_OUTPUT"
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonar-scan:
runs-on: ubuntu-latest
needs: token-check
if: ${{ needs.token-check.outputs.hasToken }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
PRIMARY_MAVEN_MODULE: ${{ github.event.repository.name }}

jobs:
publish_central: # Publish the code to central
publish-maven:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
Loading