releases #22023
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
| # SPDX-FileCopyrightText: Copyright (c) 2016-2026 Objectionary.com | |
| # SPDX-License-Identifier: MIT | |
| --- | |
| # yamllint disable rule:line-length | |
| name: releases | |
| 'on': | |
| schedule: | |
| - cron: "0 * * * *" | |
| env: | |
| make_pr: 'false' | |
| jobs: | |
| check-releases: | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4.7 | |
| bundler-cache: true | |
| - run: | | |
| sudo apt-get update --yes --fix-missing | |
| sudo apt-get install --yes libmagic-dev python3 python3-pip | |
| pip3 install requests | |
| - run: sudo gem install pdd -v 0.24.0 | |
| - run: | | |
| python3 py/auto_pull.py | |
| - uses: crazy-max/ghaction-import-gpg@v6 | |
| with: | |
| gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
| git_user_signingkey: true | |
| git_commit_gpgsign: true | |
| git_push_gpgsign: "" | |
| - run: | | |
| python3 py/is_branch_exist.py ${{ env.eo_lib_version }} | |
| echo "make_pr: ${{ env.make_pr }}" | |
| - uses: peter-evans/create-pull-request@v7 | |
| if: ${{ env.make_pr == 'true' }} | |
| with: | |
| sign-commits: true | |
| token: ${{ secrets.TOKEN }} | |
| committer: yegor256 <yegor256@gmail.com> | |
| commit-message: New release for ${{ env.eo_lib_version }} | |
| title: New release for ${{ env.eo_lib_version }} | |
| body: A new release `${{ env.eo_lib_version }}` of the EO-to-Java compiler has been published on Maven Central. Don't forget to make a release here, asking `@rultor` about it. # yamllint disable-line rule:line-length | |
| base: master | |
| branch: update-${{ env.eo_lib_version }} | |
| delete-branch: true |