Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9c19cd4

Browse files
authored
Fix github actions deprecations warnings (#10575)
1 parent 7cd8623 commit 9c19cd4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/cypress.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,19 @@ jobs:
6868
github.event.workflow_run.event == 'merge_queue' &&
6969
contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy')
7070
)
71-
run: echo "::set-output name=value::1"
71+
run: echo "value=1" >> $GITHUB_OUTPUT
7272

7373
# Only export to kiwi when it is demanded or on develop
7474
- name: Disable Kiwi if not needed
7575
id: kiwi
7676
if: |
7777
github.event.workflow_run.event == 'pull_request' &&
7878
!contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Send-Kiwi')
79-
run: echo "::set-output name=value::0"
79+
run: echo "value=0" >> $GITHUB_OUTPUT
8080

8181
- name: Generate unique ID 💎
8282
id: uuid
83-
run: echo "::set-output name=value::sha-$GITHUB_SHA-time-$(date +"%s")"
83+
run: echo "value=sha-$GITHUB_SHA-time-$(date +"%s")" >> $GITHUB_OUTPUT
8484

8585
tests:
8686
name: "Run Tests"
@@ -184,7 +184,7 @@ jobs:
184184
185185
- name: Upload reports
186186
if: always()
187-
uses: actions/upload-artifact@v2
187+
uses: actions/upload-artifact@v3
188188
with:
189189
name: cypress-junit
190190
path: cypress/results

.github/workflows/element-web.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
JSSDK_SHA=$(git -C matrix-js-sdk rev-parse --short=12 HEAD)
3838
REACT_SHA=$(git rev-parse --short=12 HEAD)
3939
VECTOR_SHA=$(git -C element-web rev-parse --short=12 HEAD)
40-
echo "::set-output name=VERSION::$VECTOR_SHA-react-$REACT_SHA-js-$JSSDK_SHA"
40+
echo "VERSION=$VECTOR_SHA-react-$REACT_SHA-js-$JSSDK_SHA" >> $GITHUB_OUTPUT
4141
4242
- name: Copy config
4343
run: cp element.io/develop/config.json config.json

0 commit comments

Comments
 (0)