Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YDKK authored Jul 9, 2023
1 parent fa612b9 commit 6c4ba0c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Build Windows frontend
working-directory: ./src/win
run: cargo build --release
Expand All @@ -32,7 +43,7 @@ jobs:
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./src/win/target/release/yNES-windows-${{github.ref_name}}.zip
asset_name: yNES-windows-build-${{github.ref_name}}.zip
asset_name: yNES-windows-${{github.ref_name}}.zip
asset_content_type: application/zip

build-wasm:
Expand Down

0 comments on commit 6c4ba0c

Please sign in to comment.