Skip to content

Commit 7a86aac

Browse files
author
Pavel Chupin
authored
[CI][NFC] Fix more github action warnings (#7090)
Continuation of #7055 There will be more patches, e.g. it's appeared that download-artifact is not fixed yet: actions/download-artifact#185
1 parent 321c733 commit 7a86aac

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/sycl_containers.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,10 @@ jobs:
7777
id: deps
7878
run: |
7979
DEPS=`cat devops/dependencies.json`
80-
DEPS="${DEPS//'%'/'%25'}"
81-
DEPS="${DEPS//$'\n'/'%0A'}"
82-
DEPS="${DEPS//$'\r'/'%0D'}"
80+
DEPS="${DEPS//$'\r'/''}"
81+
DEPS="${DEPS//$'\n'/' '}"
8382
echo $DEPS
84-
echo "::set-output name=deps::$DEPS"
83+
echo "deps=$DEPS" >>$GITHUB_OUTPUT
8584
- name: Build and Push Container
8685
uses: ./devops/actions/build_container
8786
with:
@@ -115,11 +114,10 @@ jobs:
115114
id: deps
116115
run: |
117116
DEPS=`cat devops/dependencies.json`
118-
DEPS="${DEPS//'%'/'%25'}"
119-
DEPS="${DEPS//$'\n'/'%0A'}"
120-
DEPS="${DEPS//$'\r'/'%0D'}"
117+
DEPS="${DEPS//$'\r'/''}"
118+
DEPS="${DEPS//$'\n'/' '}"
121119
echo $DEPS
122-
echo "::set-output name=deps::$DEPS"
120+
echo "deps=$DEPS" >>$GITHUB_OUTPUT
123121
- name: Build and Push Container
124122
uses: ./devops/actions/build_container
125123
with:

0 commit comments

Comments
 (0)