32
32
id : get-py-path
33
33
shell : bash
34
34
run : |
35
- echo "::set-output name= path:: $(which python)"
35
+ echo "path= $(which python)" >> $GITHUB_OUTPUT
36
36
37
37
# Set the current month and year (used for cache key)
38
38
- name : " Get Date"
41
41
# tbh I have yet to find the docs where this output format is
42
42
# defined, but I copied this from the official cache action's README.
43
43
run : |
44
- echo "::set-output name= date:: $(/bin/date -u '+%Y%m')"
44
+ echo "date= $(/bin/date -u '+%Y%m')" >> $GITHUB_OUTPUT
45
45
shell : bash
46
46
47
47
# Generate the lockfile
@@ -122,7 +122,7 @@ jobs:
122
122
id : get-py-path
123
123
shell : bash
124
124
run : |
125
- echo "::set-output name= path:: $(which python)"
125
+ echo "path= $(which python)" >> $GITHUB_OUTPUT
126
126
127
127
# Set the current month and year (used for cache key)
128
128
- name : " Get Date"
@@ -131,7 +131,7 @@ jobs:
131
131
# tbh I have yet to find the docs where this output format is
132
132
# defined, but I copied this from the official cache action's README.
133
133
run : |
134
- echo "::set-output name= date:: $(/bin/date -u '+%Y%m')"
134
+ echo "date= $(/bin/date -u '+%Y%m')" >> $GITHUB_OUTPUT
135
135
shell : bash
136
136
137
137
# Generate the lockfile
@@ -274,7 +274,7 @@ jobs:
274
274
id : get-version
275
275
shell : bash
276
276
run : |
277
- echo "::set-output name= version:: $(cargo pkgid | tr '#' '\n' | tail -n 1 | tr ':' ' ' | awk '{print $2}')"
277
+ echo "version= $(cargo pkgid | tr '#' '\n' | tail -n 1 | tr ':' ' ' | awk '{print $2}')" >> $GITHUB_OUTPUT
278
278
279
279
- name : " (DEBUG) log current version"
280
280
shell : bash
@@ -285,13 +285,13 @@ jobs:
285
285
id : cargo-version
286
286
shell : bash
287
287
run : |
288
- echo "::set-output name= new:: $(./scripts/newCargoVersion.sh)"
288
+ echo "new= $(./scripts/newCargoVersion.sh)" >> $GITHUB_OUTPUT
289
289
290
290
- name : " Check if new NPM version"
291
291
id : npm-version
292
292
shell : bash
293
293
run : |
294
- echo "::set-output name= new:: $(./scripts/newNpmVersion.sh)"
294
+ echo "new= $(./scripts/newNpmVersion.sh)" >> $GITHUB_OUTPUT
295
295
296
296
# Note we don't check for a new python version b/c there are so
297
297
# many python artifacts that it is impractical. Instead we just
0 commit comments