Skip to content

Commit

Permalink
change ci/cd build to npm cmd and push empty dist dir
Browse files Browse the repository at this point in the history
  • Loading branch information
FFFFFFFXXXXXXX committed Feb 9, 2024
1 parent 9dce537 commit 3410a20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
- run: npm install

- uses: dtolnay/rust-toolchain@nightly
- run: cargo install tauri-cli
- run: cargo tauri build
working-directory: ./src-tauri/
- run: npm run tauri build
- run: 7z a -tzip LeagueRecord_${{ github.ref_name }}_x64_en-US.zip ./licenses/ ./libobs/ ./LeagueRecord.exe
working-directory: ./src-tauri/target/release/

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

Expand Down
4 changes: 4 additions & 0 deletions dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

0 comments on commit 3410a20

Please sign in to comment.