diff --git a/.github/actions/package/action.yml b/.github/actions/package/action.yml index 8315141fc6..e53d698f43 100644 --- a/.github/actions/package/action.yml +++ b/.github/actions/package/action.yml @@ -40,7 +40,6 @@ inputs: stability: description: "branch stability (stable, testing, unstable, canary)" required: true - runs: using: composite @@ -76,7 +75,6 @@ runs: MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 ) MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 ) - BUMP_MAJOR_RIGHT=$(( MAJOR_RIGHT_PART + 1 )) if [ "$MAJOR_RIGHT" = "04" ]; then BUMP_MAJOR_LEFT="$MAJOR_LEFT" BUMP_MAJOR_RIGHT="10" @@ -111,7 +109,6 @@ runs: path: ./*.${{ inputs.package_extension }} key: ${{ inputs.cache_key }} - # Update if condition to true to get packages as artifacts - if: ${{ contains(github.event.pull_request.labels.*.name, 'upload-artifacts') }} name: Upload package artifacts uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 diff --git a/.github/workflows/gorgone.yml b/.github/workflows/gorgone.yml index c6ebd4403c..51613650f3 100644 --- a/.github/workflows/gorgone.yml +++ b/.github/workflows/gorgone.yml @@ -6,6 +6,12 @@ concurrency: on: workflow_dispatch: + inputs: + unit_tests: + description: 'Execute the unit tests' + required: true + default: true + type: boolean pull_request: types: - opened @@ -62,6 +68,7 @@ jobs: unit-test-perl: needs: [get-environment] if: | + github.event.inputs.unit_tests == 'true' && needs.get-environment.outputs.skip_workflow == 'false' && needs.get-environment.outputs.stability != 'stable' strategy: @@ -319,7 +326,7 @@ jobs: deliver-rpm: runs-on: [self-hosted, common] - needs: [get-environment, package] + needs: [get-environment, unit-test-perl, robot-test-gorgone] if: | needs.get-environment.outputs.skip_workflow == 'false' && contains(fromJson('["unstable", "testing"]'), needs.get-environment.outputs.stability) && @@ -349,7 +356,7 @@ jobs: deliver-deb: runs-on: [self-hosted, common] - needs: [get-environment, package, robot-test-gorgone, unit-test-perl] + needs: [get-environment, unit-test-perl, robot-test-gorgone] if: | needs.get-environment.outputs.skip_workflow == 'false' && contains(fromJson('["unstable", "testing"]'), needs.get-environment.outputs.stability) &&