mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 12:15:34 +08:00
[fix] fix artifacts generation path on linux in github actions scripts
This commit is contained in:
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -313,6 +313,9 @@ jobs:
|
||||
cp artifacts/crossdesk-linux-arm64-${{ steps.version.outputs.VERSION_NUM }}/* release/crossdesk-linux-arm64-${{ steps.version.outputs.VERSION_NUM }}.deb
|
||||
cp artifacts/crossdesk-win-x86_64-${{ steps.version.outputs.VERSION_NUM }}/* release/crossdesk-win-x86_64-${{ steps.version.outputs.VERSION_NUM }}.exe
|
||||
|
||||
- name: List release files
|
||||
run: ls -lh release/
|
||||
|
||||
- name: Upload to Versioned GitHub Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
||||
@@ -113,9 +113,6 @@ dpkg-deb --build "$DEB_DIR"
|
||||
OUTPUT_FILE="crossdesk-linux-arm64-$APP_VERSION.deb"
|
||||
mv "$DEB_DIR.deb" "$OUTPUT_FILE"
|
||||
|
||||
INSTALL_PATH="/tmp/$OUTPUT_FILE"
|
||||
mv "$OUTPUT_FILE" "$INSTALL_PATH"
|
||||
|
||||
rm -rf "$DEB_DIR"
|
||||
|
||||
echo "✅ Deb package for $OUTPUT_FILE created successfully."
|
||||
echo "Deb package for $OUTPUT_FILE created successfully."
|
||||
@@ -113,9 +113,6 @@ dpkg-deb --build "$DEB_DIR"
|
||||
OUTPUT_FILE="crossdesk-linux-x86_64-$APP_VERSION.deb"
|
||||
mv "$DEB_DIR.deb" "$OUTPUT_FILE"
|
||||
|
||||
INSTALL_PATH="/tmp/$OUTPUT_FILE"
|
||||
mv "$OUTPUT_FILE" "$INSTALL_PATH"
|
||||
|
||||
rm -rf "$DEB_DIR"
|
||||
|
||||
echo "✅ Deb package for $OUTPUT_FILE created successfully."
|
||||
echo "Deb package for $OUTPUT_FILE created successfully."
|
||||
Reference in New Issue
Block a user