2323 build : [x86_64-linux, x86_64-windows]
2424 include :
2525 - build : x86_64-linux
26- os : ubuntu-20 .04
26+ os : ubuntu-22 .04
2727 rust : stable
2828 target : x86_64-unknown-linux-gnu
2929 cross : false
@@ -52,14 +52,14 @@ jobs:
5252 with :
5353 use-cross : ${{ matrix.cross }}
5454 command : test
55- args : --release --locked -- target ${{ matrix.target }}
55+ args : --release --target ${{ matrix.target }}
5656
5757 - name : Build release binary
5858 uses : actions-rs/cargo@v1
5959 with :
6060 use-cross : ${{ matrix.cross }}
6161 command : build
62- args : --release --locked -- target ${{ matrix.target }}
62+ args : --release --target ${{ matrix.target }}
6363
6464 - name : Strip release binary (linux)
6565 if : matrix.build == 'x86_64-linux'
7575 cp "target/${{ matrix.target }}/release/$BIN_NAME" "dist/"
7676 fi
7777
78- - uses : actions/upload-artifact@v2.2.4
78+ - uses : actions/upload-artifact@v4
7979 with :
8080 name : bins-${{ matrix.build }}
8181 path : dist
9090 with :
9191 submodules : false
9292
93- - uses : actions/download-artifact@v2
93+ - uses : actions/download-artifact@v4
9494 # with:
9595 # path: dist
9696 # - run: ls -al ./dist
@@ -102,7 +102,7 @@ jobs:
102102 if [[ $GITHUB_REF == refs/tags/v* ]]; then
103103 name=${GITHUB_REF:10}
104104 fi
105- echo ::set-output name= val:: $name
105+ echo " val= $name" >> $GITHUB_OUTPUT
106106 echo TAG=$name >> $GITHUB_ENV
107107 id : tagname
108108
@@ -136,4 +136,4 @@ jobs:
136136 - name : Extract version
137137 id : extract-version
138138 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