From debcb1daed85cc766e2a2c9fbf7efa92031d866f Mon Sep 17 00:00:00 2001 From: Utku <74243531+utkubakir@users.noreply.github.com> Date: Thu, 15 Jun 2023 08:30:10 +0300 Subject: [PATCH] [ENG-734] Hide releases (#946) * add a dummy check * informative description * change retention to 1 day --- .github/actions/publish-artifacts/action.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/publish-artifacts/action.yaml b/.github/actions/publish-artifacts/action.yaml index 3a921ae57..7f4f95797 100644 --- a/.github/actions/publish-artifacts/action.yaml +++ b/.github/actions/publish-artifacts/action.yaml @@ -21,6 +21,7 @@ runs: name: Spacedrive-AppImage-${{ inputs.target }}-${{ env.GITHUB_SHA_SHORT }} path: target/${{ inputs.target }}/${{ inputs.profile }}/bundle/appimage/*.AppImage if-no-files-found: error + retention-days: 1 - name: Publish artifacts (Debian - deb) if: ${{ matrix.settings.host == 'ubuntu-20.04' }} @@ -29,6 +30,7 @@ runs: name: Spacedrive-deb-${{ inputs.target }}-${{ env.GITHUB_SHA_SHORT }} path: target/${{ inputs.target }}/${{ inputs.profile }}/bundle/deb/*.deb if-no-files-found: error + retention-days: 1 - name: Publish artifacts (Windows - msi) if: ${{ matrix.settings.host == 'windows-latest' }} @@ -37,6 +39,7 @@ runs: name: Spacedrive-Windows-msi-${{ inputs.target }}-${{ env.GITHUB_SHA_SHORT }} path: target/${{ inputs.target }}/${{ inputs.profile }}/bundle/msi/*.msi if-no-files-found: error + retention-days: 1 - name: Publish artifacts (macOS - dmg) if: ${{ matrix.settings.host == 'macos-latest' }} @@ -45,6 +48,7 @@ runs: name: Spacedrive-macOS-dmg-${{ inputs.target }}-${{ env.GITHUB_SHA_SHORT }} path: target/${{ inputs.target }}/${{ inputs.profile }}/bundle/dmg/*.dmg if-no-files-found: error + retention-days: 1 - name: Publish updater binaries uses: actions/upload-artifact@v3 @@ -55,3 +59,4 @@ runs: target/${{ inputs.target }}/${{ inputs.profile }}/bundle/**/*.zip* !target/**/deb/**/*.tar.gz if-no-files-found: error + retention-days: 1