parent
87cdb9e3c4
commit
c4e7891ecf
|
|
@ -60,7 +60,7 @@ initStableTemplates() {
|
|||
versions=$(curl \
|
||||
-H "Authorization: bearer ${GITHUB_TOKEN}" \
|
||||
-X POST -H "Content-Type: application/json" --data \
|
||||
'{"query": "{ repository(owner: \"eclipse\", name: \"che-operator\") { refs(refPrefix: \"refs/tags/\", last: 2, orderBy: {field: TAG_COMMIT_DATE, direction: ASC}) { edges { node { name } } } } }" } ' \
|
||||
'{"query": "{ repository(owner: \"eclipse-che\", name: \"che-operator\") { refs(refPrefix: \"refs/tags/\", last: 2, orderBy: {field: TAG_COMMIT_DATE, direction: ASC}) { edges { node { name } } } } }" } ' \
|
||||
https://api.github.com/graphql)
|
||||
|
||||
echo "${versions[*]}"
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ jobs:
|
|||
run: bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=stable
|
||||
- name: Run tests
|
||||
run: /bin/bash .github/bin/minikube/test-stable-olm-update.sh
|
||||
env:
|
||||
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
|
||||
# Run this step even the previous step fail
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ always() }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue