File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Get_ref
2+ description : " Gets system tests ref"
3+ outputs :
4+ ref :
5+ description : " System tests ref"
6+ value : ${{ steps.extract.outputs.ref }}
7+
8+ runs :
9+ using : composite
10+ steps :
11+ - name : Extract ref
12+ id : extract
13+ shell : bash
14+ run : |
15+ echo "ref=${{ github.action_path }}" >> $GITHUB_OUTPUT
16+ echo "path=${{ github.action_ref }}" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ jobs:
102102 manual_ref :
103103 runs-on : ubuntu-latest
104104 steps :
105+ - uses : ./.github/actions/get_ref
105106 - run : |
106107 if [[ "${{ inputs.ref }}" != "" ]]; then
107108 echo "ref=${{ inputs.ref }}" >> $GITHUB_OUTPUT
@@ -111,9 +112,6 @@ jobs:
111112 echo "ref=main" >> $GITHUB_OUTPUT
112113 fi
113114
114- auto_ref :
115- uses : ./.github/workflows/auto-ref.yml
116-
117115 main :
118116 if : always() && !failure() && !cancelled()
119117 name : Get parameters
You can’t perform that action at this time.
0 commit comments