Skip to content

Commit 070ff90

Browse files
committed
ci: download all artifacts at once
1 parent f8e2ba3 commit 070ff90

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/release.yml

+4-13
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,19 @@ jobs:
9999
run: |
100100
if [ "${{ matrix.target }}" == "linux-x64" ]; then
101101
cargo build --release --target x86_64-unknown-linux-gnu
102-
cp target/x86_64-unknown-linux-gnu/release/vrc-osc-manager ./vrc-osc-manager
103102
else
104103
cargo install cross --git https://github.com/rust-embedded/cross
105104
cross build --release --target x86_64-pc-windows-gnu
106-
cp target/x86_64-pc-windows-gnu/release/vrc-osc-manager.exe ./vrc-osc-manager.exe
107105
fi
108106
shell: bash
109107

110108
- name: Upload Binary Artifact
111-
uses: actions/upload-artifact@v3
109+
uses: actions/upload-artifact@v4
112110
with:
113111
name: ${{ matrix.target }}-binary
114112
path: |
115-
./vrc-osc-manager
116-
./vrc-osc-manager.exe
113+
./target/x86_64-unknown-linux-gnu/release/vrc-osc-manager
114+
./target/x86_64-pc-windows-gnu/release/vrc-osc-manager.exe
117115
118116
semantic-release:
119117
needs: [ build ]
@@ -132,14 +130,7 @@ jobs:
132130
- name: Download Binaries
133131
uses: actions/download-artifact@v4
134132
with:
135-
name: vrc-osc-manager
136-
path: ./release-artifacts/
137-
138-
- name: Download Windows Binary
139-
uses: actions/download-artifact@v4
140-
with:
141-
name: vrc-osc-manager.exe
142-
path: ./release-artifacts/
133+
path: release-artifacts
143134

144135
- name: Update version
145136
run: |

0 commit comments

Comments
 (0)