7.0.227 #5
Workflow file for this run
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
| name: Initializr CN1 Version PR | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| release: | |
| types: | |
| - published | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update-initializr-versions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Update Initializr Codename One versions | |
| run: ./scripts/initializr/update-cn1-version.sh "${{ github.event.release.tag_name || github.ref_name }}" | |
| - name: Create pull request | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| base: ${{ github.event.repository.default_branch }} | |
| commit-message: "scripts/initializr: bump Codename One versions to ${{ github.event.release.tag_name || github.ref_name }}" | |
| title: "scripts/initializr: bump Codename One versions to ${{ github.event.release.tag_name || github.ref_name }}" | |
| body: | | |
| Automated update of Codename One versions in `scripts/initializr` after release `${{ github.event.release.tag_name || github.ref_name }}`. | |
| Updated: | |
| - All `scripts/initializr/**/pom.xml` files containing `cn1.plugin.version` | |
| - `scripts/initializr/common/src/main/java/com/codename1/initializr/model/GeneratorModel.java` | |
| - `scripts/initializr/common/src/test/java/com/codename1/initializr/model/GeneratorModelMatrixTest.java` | |
| - Embedded root `pom.xml` in `scripts/initializr/common/src/main/resources/common.zip` | |
| branch: automation/initializr-cn1-version-${{ github.event.release.tag_name || github.ref_name }} | |
| delete-branch: true | |
| labels: | | |
| automation | |
| initializr | |
| add-paths: | | |
| scripts/initializr |