From aa3a8ce3d5e8af82438c29449a839eff59f40329 Mon Sep 17 00:00:00 2001 From: Tine Kondo Date: Fri, 21 Jun 2024 02:27:37 +0000 Subject: [PATCH] ci: fix wrong keys used in `launch-templates` --- .nx/workflows/agents.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.nx/workflows/agents.yaml b/.nx/workflows/agents.yaml index 1eabe299..3fa481be 100644 --- a/.nx/workflows/agents.yaml +++ b/.nx/workflows/agents.yaml @@ -7,35 +7,35 @@ launch-templates: uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Restore Node Modules Cache uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml' - PATHS: 'node_modules' - BASE_BRANCH: 'develop' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml' + paths: 'node_modules' + base-branch: 'develop' - name: Restore Maven/Gradle/SDKMan Cache uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' - env: - KEY: 'pom.xml|build.gradle|build.gradle.kts|settings.gradle|settings.gradle.kts' - PATHS: | + inputs: + key: 'pom.xml|build.gradle|build.gradle.kts|settings.gradle|settings.gradle.kts' + paths: | ~/.m2/repository ~/.sdkman - BASE_BRANCH: 'develop' + base-branch: 'develop' - name: Restore Flutter Cache uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' - env: - KEY: '"flutter-sdk"|~/flutter/version|pubspec.yaml' - PATHS: | + inputs: + key: 'pubspec.yaml|"flutter-sdk"' + paths: | ~/flutter ~/.pub-cache - BASE_BRANCH: 'develop' + base-branch: 'develop' - name: Restore Android Cache uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' - env: - KEY: '"android-sdk"' - PATHS: | + inputs: + key: '"android-sdk"' + paths: | ~/android/sdk - BASE_BRANCH: 'develop' + base-branch: 'develop' - name: Install Node Modules uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml'