fix target folder paths

This commit is contained in:
galister
2025-12-12 21:43:22 +09:00
parent 4f78825e03
commit 3ed4313a36
3 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ jobs:
- name: Cargo Build - name: Cargo Build
run: | run: |
cargo build --release cargo build --release
cp target/release/wlx-overlay-s ${APPDIR}/usr/bin cp ../target/release/wlx-overlay-s ${APPDIR}/usr/bin
chmod +x ${APPDIR}/usr/bin/wlx-overlay-s chmod +x ${APPDIR}/usr/bin/wlx-overlay-s
- name: Package AppImage - name: Package AppImage
@@ -60,7 +60,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.RELEASE_KEY }} GITHUB_TOKEN: ${{ secrets.RELEASE_KEY }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: target/release/wlx-overlay-s asset_path: ../target/release/wlx-overlay-s
asset_name: wlx-overlay-s asset_name: wlx-overlay-s
asset_content_type: application/octet-stream asset_content_type: application/octet-stream

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
cargo build --release cargo build --release
mv target/release/wlx-overlay-s ${APPDIR}/usr/bin mv ../target/release/wlx-overlay-s ${APPDIR}/usr/bin
chmod +x ${APPDIR}/usr/bin/wlx-overlay-s chmod +x ${APPDIR}/usr/bin/wlx-overlay-s

View File

@@ -57,7 +57,7 @@ modules:
build-commands: build-commands:
- cargo --offline fetch --manifest-path Cargo.toml --verbose - cargo --offline fetch --manifest-path Cargo.toml --verbose
- cargo --offline build --release --no-default-features --features=openxr,x11,wayland --verbose - cargo --offline build --release --no-default-features --features=openxr,x11,wayland --verbose
- install -Dm755 ./target/release/wlx-overlay-s -t /app/bin/ - install -Dm755 ../target/release/wlx-overlay-s -t /app/bin/
sources: sources:
- type: dir - type: dir
path: .. path: ..