Do not load KW algorithms if the dependency is not available #28
Workflow file for this run
This file contains 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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
name: "Automatic Releases" | |
on: | |
milestone: | |
types: | |
- "closed" | |
jobs: | |
release: | |
name: "Release" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
run: git fetch --unshallow | |
- name: "Release" | |
uses: "laminas/[email protected]" | |
with: | |
command-name: "laminas:automatic-releases:release" | |
env: | |
"SHELL_VERBOSITY": "3" | |
"GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} | |
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} | |
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} | |
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} | |
merge-up: | |
name: "Create Merge-Up Pull Request" | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
needs: "release" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
run: git fetch --unshallow | |
- name: "Create Merge-Up Pull Request" | |
uses: "laminas/[email protected]" | |
with: | |
command-name: "laminas:automatic-releases:create-merge-up-pull-request" | |
env: | |
"SHELL_VERBOSITY": "3" | |
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} | |
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} | |
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} | |
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} | |
switch: | |
name: "Create and/or Switch to new Release Branch" | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
needs: "merge-up" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
run: git fetch --unshallow | |
- name: "Create and/or Switch to new Release Branch" | |
uses: "laminas/[email protected]" | |
with: | |
command-name: "laminas:automatic-releases:switch-default-branch-to-next-minor" | |
env: | |
"SHELL_VERBOSITY": "3" | |
"GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} | |
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} | |
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} | |
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} | |
bump: | |
name: "Bump Changelog Version On Originating Release Branch" | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
needs: "switch" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
run: git fetch --unshallow | |
- name: "Bump Changelog Version On Originating Release Branch" | |
uses: "laminas/[email protected]" | |
with: | |
command-name: "laminas:automatic-releases:bump-changelog" | |
env: | |
"SHELL_VERBOSITY": "3" | |
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} | |
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} | |
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} | |
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} | |
milestones: | |
name: "Create new milestones" | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
needs: "bump" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
run: git fetch --unshallow | |
- name: "Create new milestones" | |
uses: "laminas/[email protected]" | |
with: | |
command-name: "laminas:automatic-releases:create-milestones" | |
env: | |
"SHELL_VERBOSITY": "3" | |
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} | |
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} | |
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} | |
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} |