Compare commits

...

1 Commits

Author SHA1 Message Date
Roman Acevedo
29ea9c37ef ci: improve to more robust conditions 2025-08-26 12:09:46 +02:00
3 changed files with 15 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ jobs:
docker-artifact-name: ${{ steps.vars.outputs.artifact }}
plugins: ${{ steps.plugins.outputs.plugins }}
env:
PLUGIN_VERSION: ${{ github.event.inputs.plugin-version != null && github.event.inputs.plugin-version || 'LATEST' }}
PLUGIN_VERSION: ${{ github.event.inputs.plugin-version != '' && github.event.inputs.plugin-version || 'LATEST' }}
steps:
- name: Checkout - Current ref
uses: actions/checkout@v5

View File

@@ -49,7 +49,7 @@ on:
required: true
env:
PLUGIN_VERSION: ${{ inputs.plugin-version != null && inputs.plugin-version || 'LATEST' }}
PLUGIN_VERSION: ${{ inputs.plugin-version != '' && inputs.plugin-version || 'LATEST' }}
jobs:
plugins:
name: List Plugins

View File

@@ -48,6 +48,7 @@ on:
SLACK_RELEASES_WEBHOOK_URL:
description: "Slack webhook for releases channel."
required: true
jobs:
build-artifacts:
name: Build - Artifacts
@@ -60,7 +61,7 @@ jobs:
if: github.ref == 'refs/heads/develop' || inputs.publish-docker == 'true'
with:
force-download-artifact: 'false'
plugin-version: ${{ inputs.plugin-version != null && inputs.plugin-version || 'LATEST' }}
plugin-version: ${{ inputs.plugin-version != '' && inputs.plugin-version || 'LATEST' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -82,4 +83,14 @@ jobs:
uses: ./.github/workflows/workflow-github-release.yml
secrets:
GH_PERSONAL_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}
SLACK_RELEASES_WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK_URL }}
SLACK_RELEASES_WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK_URL }}
IndexingPluginDoc:
name: Indexing plugins
if: false
# FIXME remove, only disabled for manually testing a release
needs:
- Docker
uses: ./.github/workflows/indexing.yml
secrets:
DOC_INDEXING_WEBHOOK: ${{ secrets.DOC_INDEXING_WEBHOOK }}