@@ -14,14 +14,14 @@ jobs:
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Check out code
17- uses : actions/checkout@v2
17+ uses : actions/checkout@v3
1818 - name : Set up docker image
1919 run : docker build -t volta .
2020 working-directory : ./ci/docker
2121 - name : Compile and package Volta
2222 run : docker run --volume ${PWD}:/root/workspace --workdir /root/workspace --rm --init --tty volta /root/workspace/ci/build-linux.sh volta-linux
2323 - name : Upload release artifact
24- uses : actions/upload-artifact@v2
24+ uses : actions/upload-artifact@v3
2525 with :
2626 name : linux
2727 path : target/release/volta-linux.tar.gz
@@ -31,19 +31,17 @@ jobs:
3131 runs-on : macos-latest
3232 steps :
3333 - name : Check out code
34- uses : actions/checkout@v2
34+ uses : actions/checkout@v3
3535 - name : Set up cargo
36- uses : actions-rs/ toolchain@v1
36+ uses : dtolnay/rust- toolchain@master
3737 with :
38- profile : minimal
3938 toolchain : 1.63
40- override : true
4139 - name : Cargo Cache
4240 uses : Swatinem/rust-cache@v2
4341 - name : Compile and package Volta
4442 run : ./ci/build-macos-x86_64.sh volta-macos
4543 - name : Upload release artifact
46- uses : actions/upload-artifact@v2
44+ uses : actions/upload-artifact@v3
4745 with :
4846 name : macos
4947 path : target/release/volta-macos.tar.gz
@@ -53,20 +51,18 @@ jobs:
5351 runs-on : macos-latest
5452 steps :
5553 - name : Check out code
56- uses : actions/checkout@v2
54+ uses : actions/checkout@v3
5755 - name : Set up cargo
58- uses : actions-rs/ toolchain@v1
56+ uses : dtolnay/rust- toolchain@master
5957 with :
60- profile : minimal
6158 toolchain : 1.63
6259 target : aarch64-apple-darwin
63- override : true
6460 - name : Cargo Cache
6561 uses : Swatinem/rust-cache@v2
6662 - name : Compile and package Volta
6763 run : ./ci/build-macos-arm.sh volta-macos-aarch64
6864 - name : Upload release artifact
69- uses : actions/upload-artifact@v2
65+ uses : actions/upload-artifact@v3
7066 with :
7167 name : macos-aarch64
7268 path : target/aarch64-apple-darwin/release/volta-macos-aarch64.tar.gz
@@ -76,25 +72,18 @@ jobs:
7672 runs-on : windows-latest
7773 steps :
7874 - name : Check out code
79- uses : actions/checkout@v2
75+ uses : actions/checkout@v3
8076 - name : Set up cargo
81- uses : actions-rs/ toolchain@v1
77+ uses : dtolnay/rust- toolchain@master
8278 with :
83- profile : minimal
8479 toolchain : 1.63
85- override : true
8680 - name : Cargo Cache
8781 uses : Swatinem/rust-cache@v2
8882 - name : Add cargo-wix subcommand
89- uses : actions-rs/cargo@v1
90- with :
91- command : install
92- args : cargo-wix
83+ run : cargo install cargo-wix
9384 - name : Compile and package installer
94- uses : actions-rs/cargo@v1
95- with :
96- command : wix
97- args : --nocapture --package volta --output target\wix\volta-windows.msi
85+ run : |
86+ cargo wix --nocapture --package volta --output target\wix\volta-windows.msi
9887 - name : Load Certificate File
9988 id : certificate_file
10089 if : github.event_name == 'push'
@@ -117,12 +106,12 @@ jobs:
117106 run : powershell Compress-Archive volta*.exe volta-windows.zip
118107 working-directory : ./target/release
119108 - name : Upload installer
120- uses : actions/upload-artifact@v2
109+ uses : actions/upload-artifact@v3
121110 with :
122111 name : windows-installer
123112 path : target/wix/volta-windows.msi
124113 - name : Upload zip
125- uses : actions/upload-artifact@v2
114+ uses : actions/upload-artifact@v3
126115 with :
127116 name : windows-zip
128117 path : target/release/volta-windows.zip
@@ -138,12 +127,12 @@ jobs:
138127 if : github.event_name == 'push'
139128 steps :
140129 - name : Check out code
141- uses : actions/checkout@v2
130+ uses : actions/checkout@v3
142131 - name : Determine release version
143132 id : release_info
144133 env :
145134 TAG : ${{ github.ref }}
146- run : echo "::set-output name= version:: ${TAG:11}"
135+ run : echo "version= ${TAG:11}" >> $GITHUB_OUTPUT
147136 - name : Fetch Linux artifact
148137 uses : actions/download-artifact@v2
149138 with :
0 commit comments