mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 01:15:42 -06:00
fix: update vcpkg cache paths and web serve directory
Update GitHub Actions workflows to use correct Cargo.toml/Cargo.lock paths in root directory instead of pacman/ subdirectory. Fix Justfile web command to serve from web/dist/client instead of pacman/dist.
This commit is contained in:
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -53,7 +53,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: target/vcpkg
|
path: target/vcpkg
|
||||||
key: A-vcpkg-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('pacman/Cargo.toml', 'pacman/Cargo.lock') }}
|
key: A-vcpkg-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('Cargo.toml', 'Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
A-vcpkg-${{ runner.os }}-${{ matrix.target }}-
|
A-vcpkg-${{ runner.os }}-${{ matrix.target }}-
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/checks.yaml
vendored
2
.github/workflows/checks.yaml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: target/vcpkg
|
path: target/vcpkg
|
||||||
key: A-vcpkg-${{ runner.os }}-${{ hashFiles('pacman/Cargo.toml', 'pacman/Cargo.lock') }}
|
key: A-vcpkg-${{ runner.os }}-${{ hashFiles('Cargo.toml', 'Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
A-vcpkg-${{ runner.os }}-
|
A-vcpkg-${{ runner.os }}-
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/coverage.yaml
vendored
2
.github/workflows/coverage.yaml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: target/vcpkg
|
path: target/vcpkg
|
||||||
key: A-vcpkg-${{ runner.os }}-${{ hashFiles('pacman/Cargo.toml', 'pacman/Cargo.lock') }}
|
key: A-vcpkg-${{ runner.os }}-${{ hashFiles('Cargo.toml', 'Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
A-vcpkg-${{ runner.os }}-
|
A-vcpkg-${{ runner.os }}-
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: target/vcpkg
|
path: target/vcpkg
|
||||||
key: A-vcpkg-${{ runner.os }}-${{ hashFiles('pacman/Cargo.toml', 'pacman/Cargo.lock') }}
|
key: A-vcpkg-${{ runner.os }}-${{ hashFiles('Cargo.toml', 'Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
A-vcpkg-${{ runner.os }}-
|
A-vcpkg-${{ runner.os }}-
|
||||||
|
|
||||||
|
|||||||
2
Justfile
2
Justfile
@@ -37,7 +37,7 @@ samply:
|
|||||||
# Build the project for Emscripten
|
# Build the project for Emscripten
|
||||||
web *args:
|
web *args:
|
||||||
bun run pacman/web.build.ts {{args}};
|
bun run pacman/web.build.ts {{args}};
|
||||||
caddy file-server --root pacman/dist
|
caddy file-server --root web/dist/client
|
||||||
|
|
||||||
# Fix linting errors & formatting
|
# Fix linting errors & formatting
|
||||||
fix:
|
fix:
|
||||||
|
|||||||
Reference in New Issue
Block a user