mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[GithubActions] Enable image caching when not using self-hosted runners
This commit is contained in:
@@ -51,7 +51,8 @@ jobs:
|
||||
name: Pull all needed docker images and cache them (if dbs have not changed)
|
||||
runs-on: ubuntu-latest
|
||||
if: |
|
||||
!cancelled() && !failure() && false &&
|
||||
!cancelled() && !failure() &&
|
||||
${{ runner.name != 'self-hosted' }} &&
|
||||
!(
|
||||
needs.check_updater_changed.outputs.has_updater_changed == 'true' ||
|
||||
needs.check_migration_files.outputs.kone_db_migrations == 'true' ||
|
||||
@@ -352,7 +353,9 @@ jobs:
|
||||
cache_cypress_image:
|
||||
runs-on: ubuntu-latest
|
||||
if: |
|
||||
!cancelled() && !failure() && false
|
||||
!cancelled() && !failure() &&
|
||||
${{ runner.name != 'self-hosted' }}
|
||||
|
||||
steps:
|
||||
- name: Set up cache for Cypress image (saved in Post-step)
|
||||
id: cache-cypress-image
|
||||
|
||||
Reference in New Issue
Block a user