23
23
build : [x86_64-linux, x86_64-windows]
24
24
include :
25
25
- build : x86_64-linux
26
- os : ubuntu-20 .04
26
+ os : ubuntu-22 .04
27
27
rust : stable
28
28
target : x86_64-unknown-linux-gnu
29
29
cross : false
@@ -52,14 +52,14 @@ jobs:
52
52
with :
53
53
use-cross : ${{ matrix.cross }}
54
54
command : test
55
- args : --release --locked -- target ${{ matrix.target }}
55
+ args : --release --target ${{ matrix.target }}
56
56
57
57
- name : Build release binary
58
58
uses : actions-rs/cargo@v1
59
59
with :
60
60
use-cross : ${{ matrix.cross }}
61
61
command : build
62
- args : --release --locked -- target ${{ matrix.target }}
62
+ args : --release --target ${{ matrix.target }}
63
63
64
64
- name : Strip release binary (linux)
65
65
if : matrix.build == 'x86_64-linux'
75
75
cp "target/${{ matrix.target }}/release/$BIN_NAME" "dist/"
76
76
fi
77
77
78
- - uses : actions/upload-artifact@v2.2.4
78
+ - uses : actions/upload-artifact@v4
79
79
with :
80
80
name : bins-${{ matrix.build }}
81
81
path : dist
90
90
with :
91
91
submodules : false
92
92
93
- - uses : actions/download-artifact@v2
93
+ - uses : actions/download-artifact@v4
94
94
# with:
95
95
# path: dist
96
96
# - run: ls -al ./dist
@@ -102,7 +102,7 @@ jobs:
102
102
if [[ $GITHUB_REF == refs/tags/v* ]]; then
103
103
name=${GITHUB_REF:10}
104
104
fi
105
- echo ::set-output name= val:: $name
105
+ echo " val= $name" >> $GITHUB_OUTPUT
106
106
echo TAG=$name >> $GITHUB_ENV
107
107
id : tagname
108
108
@@ -136,4 +136,4 @@ jobs:
136
136
- name : Extract version
137
137
id : extract-version
138
138
run : |
139
- printf "::set-output name=%s::%s\n" tag-name " ${GITHUB_REF#refs/tags/}"
139
+ echo " tag-name= ${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
0 commit comments