Skip to content

Commit

Permalink
Debian and RPM packaging CI: only update cache when building succeeds
Browse files Browse the repository at this point in the history
Prevents corrupting the cache in case the build fails because of file corruption.
  • Loading branch information
FooBarWidget committed Jan 31, 2025
1 parent 9470695 commit f360d4a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ jobs:
BLOB_NAME: "binaries/debian-cache-${{ matrix.distro }}-${{ matrix.arch.name }}.tar.zstd"
CACHE_PATH: packaging/debian/cache
SUDO: true
if: '!cancelled()'

- uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ jobs:
BLOB_NAME: "binaries/rpm-cache-${{ matrix.distro }}-${{ matrix.arch.rpm_arch }}.tar.zstd"
CACHE_PATH: packaging/rpm/cache
SUDO: true
if: '!cancelled()'

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f360d4a

Please sign in to comment.