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 : Test - Workflow for Testing
1+ name : Test workflow
22
33on :
44 workflow_dispatch :
55
6- inputs :
7- ref :
8- description : ' This is an example of an input'
9- required : true
10-
11- env :
12- ASANA_PAT : ${{ secrets.ASANA_ACCESS_TOKEN }}
13- GH_TOKEN : ${{ secrets.GT_DAXMOBILE }}
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.ref }}
8+ cancel-in-progress : true
149
1510jobs :
16- test-workflow :
17- runs-on : ubuntu-latest
18- name : Add here whatever steps you want to test
19-
11+ resolve-commit :
12+ name : Resolve commit SHA
13+ runs-on : android-large-runner
14+ outputs :
15+ commit_sha : ${{ steps.resolve.outputs.commit_sha }}
2016 steps :
21- - name : Checkout repository
22- uses : actions/checkout@v4
23- with :
24- submodules : recursive
25- token : ${{ secrets.GT_DAXMOBILE }}
26- ref : ${{ github.event.inputs.ref }}
17+ - name : Resolve commit SHA
18+ id : resolve
19+ run : |
20+ echo "Using commit: ${{ github.sha }}"
21+ echo "commit_sha=${{ github.sha }}" >> $GITHUB_OUTPUT
22+
23+ call-end-to-end :
24+ needs : [resolve-commit]
25+ uses : ./.github/workflows/e2e-nightly-full-suite.yml
26+ with :
27+ commit : ${{ needs.resolve-commit.outputs.commit_sha }}
28+ secrets : inherit
You can’t perform that action at this time.
0 commit comments