Embed assets in release builds

This commit is contained in:
Luke Street
2023-03-16 01:29:30 -04:00
parent 4344a4c87b
commit 3250e49cb6
6 changed files with 61 additions and 20 deletions
+5 -1
View File
@@ -186,7 +186,11 @@ jobs:
with:
key: ${{ matrix.target }}
- name: Cargo build
run: cargo ${{ matrix.build }} --release --target ${{ matrix.target }} --bin ${{ env.CARGO_BIN_NAME }}
env:
BEVY_ASSET_PATH: ${{ github.workspace }}/retrotool-gui/assets
run: |
cargo ${{ matrix.build }} --release --target ${{ matrix.target }} \
--bin ${{ env.CARGO_BIN_NAME }} --features embed
- name: Upload artifacts
uses: actions/upload-artifact@v3
with: