File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ jobs:
2020 build :
2121 runs-on : ubuntu-latest
2222 steps :
23- - uses : actions/checkout@v2
24- - name : Build
25- run : cargo build --verbose
26- - name : Run tests
27- run : cargo test --verbose
23+ - uses : actions/checkout@v4
24+ - name : Build
25+ run : cargo build --verbose
26+ - name : Run tests
27+ run : cargo test --verbose
2828
2929 release :
3030 name : Build Release
3737 - x86_64-linux-gnu # amd64
3838 - aarch64-linux-gnu # arm64
3939 steps :
40- - uses : actions/checkout@v2
40+ - uses : actions/checkout@v4
4141
4242 - name : Install Rust toolchain
4343 uses : actions-rs/toolchain@v1
6363 cd release && tar -czf $BINARY_NAME-${{ matrix.target }}.tar.gz $BINARY_NAME-${{ matrix.target }}
6464
6565 - name : Upload artifacts
66- uses : actions/upload-artifact@v2
66+ uses : actions/upload-artifact@v4
6767 with :
6868 name : ${{ env.BINARY_NAME }}-${{ matrix.target }}
6969 path : control/release/${{ env.BINARY_NAME }}-${{ matrix.target }}.tar.gz
7575 if : startsWith(github.ref, 'refs/tags/')
7676 steps :
7777 - name : Download all artifacts
78- uses : actions/download-artifact@v2
78+ uses : actions/download-artifact@v4
7979
8080 - name : Get the version
8181 id : get_version
9090 files : |
9191 */*.tar.gz
9292 env :
93- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments