File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 3535 - name : Checkout
3636 uses : actions/checkout@v4
3737
38+ - name : Install musl-tools
39+ run : |
40+ sudo apt-get update -y
41+ sudo apt-get install -y musl-tools
42+
3843 - name : Add Rust target
3944 run : rustup target add ${{ matrix.target }}
4045
5762 run : |
5863 mkdir -p artifacts
5964 cp target/${{ matrix.target }}/release/${{ env.BINARY_NAME }} artifacts/
65+ cp -R data/generated artifacts/assets
6066 cd artifacts && tar -czf ../${{ env.BINARY_NAME }}_${{ matrix.name }}.tar.gz *
6167
6268 - name : Upload artifacts
94100 run : |
95101 mkdir -p artifacts
96102 cp target/aarch64-apple-darwin/release/${{ env.BINARY_NAME }} artifacts/
103+ cp -R data/generated artifacts/assets
97104 cd artifacts && tar -czf ../${{ env.BINARY_NAME }}_macos-aarch64.tar.gz *
98105
99106 - name : Upload artifacts
@@ -128,7 +135,8 @@ jobs:
128135 run : |
129136 mkdir artifacts
130137 Copy-Item "target/x86_64-pc-windows-msvc/release/${{ env.BINARY_NAME }}.exe" artifacts/
131- Compress-Archive -Path artifacts/* -DestinationPath "${{ env.BINARY_NAME }}_windows-x86_64.zip"
138+ Copy-Item "data/generated" "artifacts/assets" -Recurse
139+ Compress-Archive -Path artifacts/* -DestinationPath "${{ env.BINARY_NAME }}_windows-x86_64.zip" -Force
132140
133141 - name : Upload artifacts
134142 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments