@@ -26,21 +26,21 @@ jobs:
2626 runs-on : ${{ matrix.os }}
2727
2828 steps :
29- - uses : actions/checkout@v1
29+ - uses : actions/checkout@v3
3030
31- # https://github.com/actions/cache/blob/master /examples.md#rust---cargo
31+ # https://github.com/actions/cache/blob/main /examples.md#rust---cargo
3232 - name : Cache cargo registry
33- uses : actions/cache@v1
33+ uses : actions/cache@v3
3434 with :
3535 path : ~/.cargo/registry
3636 key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
3737 - name : Cache cargo index
38- uses : actions/cache@v1
38+ uses : actions/cache@v3
3939 with :
4040 path : ~/.cargo/git
4141 key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
4242 - name : Cache cargo build
43- uses : actions/cache@v1
43+ uses : actions/cache@v3
4444 with :
4545 path : target
4646 key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
5757
5858 - run : |
5959 zip --junk-paths prefix-aggregator-${{ matrix.target }} target/${{ matrix.target }}/release/prefix-aggregator{,.exe}
60- - uses : actions/upload-artifact@v1
60+ - uses : actions/upload-artifact@v3
6161 with :
6262 name : build-${{ matrix.target }}
6363 path : prefix-aggregator-${{ matrix.target }}.zip
7777 prerelease : false
7878 - run : |
7979 echo '${{ steps.create-release.outputs.upload_url }}' > release_upload_url.txt
80- - uses : actions/upload-artifact@v1
80+ - uses : actions/upload-artifact@v3
8181 with :
8282 name : create-release
8383 path : release_upload_url.txt
@@ -93,13 +93,13 @@ jobs:
9393 needs : [create-release]
9494 runs-on : ubuntu-latest
9595 steps :
96- - uses : actions/download-artifact@v1
96+ - uses : actions/download-artifact@v3
9797 with :
9898 name : create-release
9999 - id : upload-url
100100 run : |
101101 echo "::set-output name=url::$(cat create-release/release_upload_url.txt)"
102- - uses : actions/download-artifact@v1
102+ - uses : actions/download-artifact@v3
103103 with :
104104 name : build-${{ matrix.target }}
105105
0 commit comments