From 345dd45caa25c8c66e184397b0a0bf438e89245d Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Tue, 2 Jan 2024 04:43:18 -0500 Subject: [PATCH] Stop the upload of broken Linux builds (#1256) * Stop the upload of broken Linux builds Fixes #1255 * Back to Zoo --- .github/workflows/ci.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f1eca22b..c40233d52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -243,6 +243,7 @@ jobs: args: "${{ matrix.os == 'macos-latest' && '--target universal-apple-darwin' || '' }} ${{ env.TAURI_CONF_ARGS }}" - uses: actions/upload-artifact@v3 + if: matrix.os != 'ubuntu-latest' env: PREFIX: ${{ matrix.os == 'macos-latest' && 'src-tauri/target/universal-apple-darwin' || 'src-tauri/target' }} MODE: ${{ env.BUILD_RELEASE == 'true' && 'release' || 'debug' }} @@ -279,7 +280,6 @@ jobs: run: | ls -l artifact/*/*oo* DARWIN_SIG=`cat artifact/macos/*.app.tar.gz.sig` - LINUX_SIG=`cat artifact/appimage/*.AppImage.tar.gz.sig` WINDOWS_SIG=`cat artifact/msi/*.msi.zip.sig` RELEASE_DIR=https://${WEBSITE_DIR}/${VERSION} jq --null-input \ @@ -288,8 +288,6 @@ jobs: --arg notes "${NOTES}" \ --arg darwin_sig "$DARWIN_SIG" \ --arg darwin_url "$RELEASE_DIR/macos/Zoo%20Modeling%20App.app.tar.gz" \ - --arg linux_sig "$LINUX_SIG" \ - --arg linux_url "$RELEASE_DIR/appimage/zoo-modeling-app_${VERSION_NO_V}_amd64.AppImage.tar.gz" \ --arg windows_sig "$WINDOWS_SIG" \ --arg windows_url "$RELEASE_DIR/msi/Zoo%20Modeling%20App_${VERSION_NO_V}_x64_en-US.msi.zip" \ '{ @@ -305,10 +303,6 @@ jobs: "signature": $darwin_sig, "url": $darwin_url }, - "linux-x86_64": { - "signature": $linux_sig, - "url": $linux_url - }, "windows-x86_64": { "signature": $windows_sig, "url": $windows_url @@ -325,7 +319,6 @@ jobs: --arg pub_date "${PUB_DATE}" \ --arg notes "${NOTES}" \ --arg darwin_url "$RELEASE_DIR/dmg/Zoo%20Modeling%20App_${VERSION_NO_V}_universal.dmg" \ - --arg linux_url "$RELEASE_DIR/appimage/zoo-modeling-app_${VERSION_NO_V}_amd64.AppImage" \ --arg windows_url "$RELEASE_DIR/msi/Zoo%20Modeling%20App_${VERSION_NO_V}_x64_en-US.msi" \ '{ "version": $version, @@ -335,9 +328,6 @@ jobs: "dmg-universal": { "url": $darwin_url }, - "appimage-x86_64": { - "url": $linux_url - }, "msi-x86_64": { "url": $windows_url } @@ -359,7 +349,7 @@ jobs: uses: google-github-actions/upload-cloud-storage@v2.0.0 with: path: artifact - glob: '*/*oo*' + glob: '*/Zoo*' parent: false destination: ${{ env.BUCKET_DIR }}/${{ env.VERSION }} @@ -379,4 +369,4 @@ jobs: if: ${{ github.event_name == 'release' }} uses: softprops/action-gh-release@v1 with: - files: artifact/*/*oo* + files: 'artifact/*/Zoo*'