This is an automated email from the ASF dual-hosted git repository.

piergiorgio pushed a commit to branch CONNECTORS-1754
in repository https://gitbox.apache.org/repos/asf/manifoldcf.git


The following commit(s) were added to refs/heads/CONNECTORS-1754 by this push:
     new bff206338 Fix for the GitHub workflows (CONNECTORS-1754)
bff206338 is described below

commit bff20633865c13507092c4e34665f1536f12dad5
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Tue Jun 18 11:17:41 2024 +0200

    Fix for the GitHub workflows (CONNECTORS-1754)
---
 .github/workflows/publish-release-candidate-svn.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish-release-candidate-svn.yml 
b/.github/workflows/publish-release-candidate-svn.yml
index caee7417d..d57bebd5a 100644
--- a/.github/workflows/publish-release-candidate-svn.yml
+++ b/.github/workflows/publish-release-candidate-svn.yml
@@ -21,6 +21,9 @@ run-name: ${{ github.actor }} is publishing the Release 
Candidate on ASF SVN🚀
 on:
   workflow_dispatch:
     inputs:
+      RC_TAG:
+        description: Release Candidate Tag (release-x.xx-RCx)
+        required: true
       APACHE_ID:
         description: Your Apache id
         required: true
@@ -41,12 +44,12 @@ jobs:
       - name: Extract branch name
         id: branchExtracted
         shell: bash
-        run: echo "name=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> 
$GITHUB_OUTPUT
+        run: echo "name=${{ github.event.inputs.RC_TAG }}" >> $GITHUB_OUTPUT
         
       - name: Extract Release Candidate revision
         id: rcRevision
         run: |
-          branchExtracted="${{ steps.branchExtracted.outputs.name }}"
+          branchExtracted="${{ github.event.inputs.RC_TAG }}"
           set -- branchExtracted
           echo "version=${1##*-}" >> $GITHUB_OUTPUT
       

Reply via email to