mirror of https://github.com/vector-im/riot-web
Fix github actions deprecations warnings (#10575)
parent
7cd86231b4
commit
9c19cd48fe
|
@ -68,7 +68,7 @@ jobs:
|
||||||
github.event.workflow_run.event == 'merge_queue' &&
|
github.event.workflow_run.event == 'merge_queue' &&
|
||||||
contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy')
|
contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy')
|
||||||
)
|
)
|
||||||
run: echo "::set-output name=value::1"
|
run: echo "value=1" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# Only export to kiwi when it is demanded or on develop
|
# Only export to kiwi when it is demanded or on develop
|
||||||
- name: Disable Kiwi if not needed
|
- name: Disable Kiwi if not needed
|
||||||
|
@ -76,11 +76,11 @@ jobs:
|
||||||
if: |
|
if: |
|
||||||
github.event.workflow_run.event == 'pull_request' &&
|
github.event.workflow_run.event == 'pull_request' &&
|
||||||
!contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Send-Kiwi')
|
!contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Send-Kiwi')
|
||||||
run: echo "::set-output name=value::0"
|
run: echo "value=0" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Generate unique ID 💎
|
- name: Generate unique ID 💎
|
||||||
id: uuid
|
id: uuid
|
||||||
run: echo "::set-output name=value::sha-$GITHUB_SHA-time-$(date +"%s")"
|
run: echo "value=sha-$GITHUB_SHA-time-$(date +"%s")" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
name: "Run Tests"
|
name: "Run Tests"
|
||||||
|
@ -184,7 +184,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload reports
|
- name: Upload reports
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: cypress-junit
|
name: cypress-junit
|
||||||
path: cypress/results
|
path: cypress/results
|
||||||
|
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
JSSDK_SHA=$(git -C matrix-js-sdk rev-parse --short=12 HEAD)
|
JSSDK_SHA=$(git -C matrix-js-sdk rev-parse --short=12 HEAD)
|
||||||
REACT_SHA=$(git rev-parse --short=12 HEAD)
|
REACT_SHA=$(git rev-parse --short=12 HEAD)
|
||||||
VECTOR_SHA=$(git -C element-web rev-parse --short=12 HEAD)
|
VECTOR_SHA=$(git -C element-web rev-parse --short=12 HEAD)
|
||||||
echo "::set-output name=VERSION::$VECTOR_SHA-react-$REACT_SHA-js-$JSSDK_SHA"
|
echo "VERSION=$VECTOR_SHA-react-$REACT_SHA-js-$JSSDK_SHA" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Copy config
|
- name: Copy config
|
||||||
run: cp element.io/develop/config.json config.json
|
run: cp element.io/develop/config.json config.json
|
||||||
|
|
Loading…
Reference in New Issue