fix target folder paths
This commit is contained in:
4
.github/workflows/make-release.yml
vendored
4
.github/workflows/make-release.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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: ..
|
||||||
|
|||||||
Reference in New Issue
Block a user