File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,18 @@ jobs:
21
21
outputs :
22
22
upload_url : ${{ steps.create_release.outputs.upload_url }}
23
23
steps :
24
- - uses : actions/checkout@v2
24
+ - uses : actions/checkout@v4
25
25
26
26
- id : release_params
27
27
run : |
28
28
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
29
- echo "::set-output name= prerelease:: false"
30
- echo "::set-output name= release_tag:: ${GITHUB_REF#refs/tags/}"
31
- echo "::set-output name= title:: ${GITHUB_REF#refs/tags/}"
29
+ echo "prerelease= false" >> $GITHUB_OUTPUT
30
+ echo "release_tag= ${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
31
+ echo "title= ${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
32
32
else
33
- echo "::set-output name= prerelease:: true"
34
- echo "::set-output name= release_tag:: nightly"
35
- echo "::set-output name= title:: Development Build"
33
+ echo "prerelease= true" >> $GITHUB_OUTPUT
34
+ echo "release_tag= nightly" >> $GITHUB_OUTPUT
35
+ echo "title= Development Build" >> $GITHUB_OUTPUT
36
36
fi
37
37
38
38
- id : create_release
56
56
runs-on : ${{ matrix.os }}
57
57
58
58
steps :
59
- - uses : actions/checkout@v2
59
+ - uses : actions/checkout@v4
60
60
61
61
- uses : actions-rs/toolchain@v1
62
62
with :
Original file line number Diff line number Diff line change 19
19
cargo-fmt :
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v4
23
23
24
24
- uses : actions-rs/toolchain@v1
25
25
with :
36
36
cargo-clippy :
37
37
runs-on : ubuntu-latest
38
38
steps :
39
- - uses : actions/checkout@v2
39
+ - uses : actions/checkout@v4
40
40
41
41
- uses : actions-rs/toolchain@v1
42
42
with :
61
61
runs-on : ${{ matrix.os }}
62
62
63
63
steps :
64
- - uses : actions/checkout@v2
64
+ - uses : actions/checkout@v4
65
65
66
66
- uses : actions-rs/toolchain@v1
67
67
with :
93
93
cargo-rustdoc :
94
94
runs-on : ubuntu-latest
95
95
steps :
96
- - uses : actions/checkout@v1
96
+ - uses : actions/checkout@v4
97
97
98
98
- uses : actions-rs/toolchain@v1
99
99
with :
@@ -109,8 +109,10 @@ jobs:
109
109
tests :
110
110
runs-on : ubuntu-latest
111
111
steps :
112
- - uses : actions/checkout@v2
113
- - uses : actions/setup-python@v2
112
+ - uses : actions/checkout@v4
113
+ - uses : actions/setup-python@v4
114
+ with :
115
+ python-version : ' 3.12'
114
116
- uses : actions-rs/toolchain@v1
115
117
with :
116
118
profile : minimal
You can’t perform that action at this time.
0 commit comments