Repository navigation
Rebuild with refreshed dependencies #202
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
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
836a354
Update shared agent tooling and config (./config/pull)
alexander-yevsyukov 5d26fc9
Update local dependency pins
alexander-yevsyukov a26b97a
Bump version -> `2.0.0-SNAPSHOT.253`
alexander-yevsyukov 54c0e60
Adapt to refreshed dependencies
alexander-yevsyukov ba06ebe
Update dependency reports
alexander-yevsyukov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| name: Publish API docs | ||
|
|
||
| # Publishes the API documentation of the published modules to the `gh-pages` | ||
| # branch, which GitHub Pages serves under `spine.io`. | ||
| # | ||
| # The job runs apart from `publish.yml`, and neither waits for the other: a | ||
| # failure here leaves the Maven publication intact, and the other way round. | ||
| # `:publishAllApiDocs` is registered in the root project by `spinePublishing { }`, | ||
| # so it exists in every repository that publishes, and does nothing where no | ||
| # module documents itself. It runs the `publishApiDocs` task of each published | ||
| # module. | ||
| # | ||
| # Only release versions are published. For a snapshot version, which most merges | ||
| # produce, the task of each module only says that it skips the documentation, | ||
| # and the run ends green without generating or pushing any. | ||
| # | ||
| # A failed run can be re-run as it is: each module commits its documentation | ||
| # even when nothing changed, and retries a failed push after rebasing onto | ||
| # `gh-pages`. | ||
| # | ||
| # Each module clones only the tip of `gh-pages` and checks out only its own most | ||
| # recent documentation and the folder of its version, so that a run does not | ||
| # fetch the documentation of every version of every module. | ||
| # | ||
| # This job does not ask whether `publish.yml` could publish the version, as that | ||
| # would couple the two again. When `publish.yml` stops because the version is | ||
| # already taken, which the version checks of pull requests normally prevent, | ||
| # this job still copies the documentation of the commit over that of the version. | ||
| # | ||
| # Unlike `publish.yml`, this file is not a caller of a reusable workflow hosted | ||
| # by `config`. That split exists to make `config` the signer of the attestation | ||
| # of the published artifacts, and the documentation is not attested. | ||
|
|
||
| on: | ||
| push: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| publish-api-docs: | ||
| name: Publish API docs | ||
| runs-on: ubuntu-latest | ||
|
|
||
| # One run at a time per repository, since every run pushes to `gh-pages`. | ||
| # `queue: max` keeps up to 100 runs waiting, instead of letting a newer run | ||
| # cancel the waiting one: each run also adds the documentation of its own | ||
| # version, which no later run would publish. The waiting runs may start in | ||
| # another order than their commits, so a run replaces the most recent | ||
| # documentation of a module only if no newer version is published already. | ||
| concurrency: | ||
| group: api-docs-publishing-${{ github.repository }} | ||
| queue: max | ||
|
|
||
| # The push goes over SSH with the deploy key, not with `GITHUB_TOKEN`, which | ||
| # only reads the dependencies published to GitHub Packages. | ||
| permissions: | ||
| contents: read | ||
| packages: read | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| submodules: 'true' | ||
|
|
||
| - uses: actions/setup-java@v5 | ||
| with: | ||
| java-version: 17 | ||
| distribution: zulu | ||
|
|
||
| # The cache stays on, unlike in `publishing.yml`, which turns it off to keep | ||
| # its attestation trustworthy: nothing here is attested. A run on `master` | ||
| # reads only the caches written by the workflows that run on `master`. | ||
| - uses: gradle/actions/setup-gradle@v6 | ||
|
|
||
| - name: Decrypt Git SSH credentials | ||
| run: ./config/scripts/decrypt.sh "$GIT_CREDENTIALS_KEY" ./.github/keys/deploy_key_rsa.gpg ./deploy_key_rsa | ||
| env: | ||
| GIT_CREDENTIALS_KEY: ${{ secrets.GIT_CREDENTIALS_KEY }} | ||
|
|
||
| # The SSH agent does not accept a key that others can read. The build runs | ||
| # `register-ssh-key.sh` to hand the key to the agent. | ||
| - name: Set file system permissions | ||
| run: chmod 400 ./deploy_key_rsa && chmod +x ./config/scripts/register-ssh-key.sh | ||
|
|
||
| - name: Publish API docs | ||
| run: ./gradlew :publishAllApiDocs --stacktrace | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| FORMAL_GIT_HUB_PAGES_AUTHOR: developers@spine.io | ||
| # https://docs.github.com/en/actions/reference/environment-variables | ||
| REPO_SLUG: ${{ github.repository }} # e.g. SpineEventEngine/core-jvm | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.