Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyc committed Dec 19, 2024
1 parent 46156ae commit 763f0e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-gnu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
name: pisugar-web
path: |
electron/dist
pisugar-webui/dist
- name: Update env
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-musl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
name: pisugar-web
path: |
electron/dist
pisugar-webui/dist
# Rust cache
- uses: Swatinem/rust-cache@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Move files
run: |
set -x
mkdir -p electron/dist
mv -f download/pisugar-web/* electron/dist/
mkdir -p pisugar-webui/dist
mv -f download/pisugar-web/* pisugar-webui/dist/
rm -rf download/pisugar-web
mkdir -p target
for i in $(ls download); do
Expand Down
2 changes: 1 addition & 1 deletion scripts/aur/build-aur.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ for i in arm armhf aarch64 x86_64; do
cp -r "$ROOT_DIR/pisugar-server/.rpm/config.json" $i/
cp -r "$ROOT_DIR/pisugar-server/.rpm/pisugar-server.default" $i/
cp -r "$ROOT_DIR/pisugar-server/.rpm/pisugar-server.service" $i/
cp -r "$ROOT_DIR/electron/dist/web" $i/
cp -r "$ROOT_DIR/pisugar-webui/dist/" $i/web/
cp -r "$ROOT_DIR/pisugar-poweroff/.rpm/pisugar-poweroff.default" $i/
cp -r "$ROOT_DIR/pisugar-poweroff/.rpm/pisugar-poweroff.service" $i/
done
Expand Down

0 comments on commit 763f0e9

Please sign in to comment.