From 60bb2d9587e3fcef100c8ef2b341ec54b237117b Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Thu, 2 Nov 2023 18:38:41 +0000 Subject: [PATCH] checkout sdk repo for action --- .github/workflows/build-test.yaml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index f11e037e8c..d8a23f9f93 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -3493,8 +3493,16 @@ jobs: sleep 1 done + - run: rm -rf ./replicated-sdk + - name: Checkout replicated-sdk + uses: actions/checkout@v3 + with: + repository: replicatedhq/replicated-sdk + path: replicated-sdk + ref: 99e89cd2ced57d65fe0fed0476872e855e74ea34 # TODO: make this a variable + - name: Validate endpoints - uses: replicatedhq/replicated-sdk/.github/actions/validate-endpoints@99e89cd2ced57d65fe0fed0476872e855e74ea34 + uses: ./replicated-sdk/.github/actions/validate-endpoints with: license-id: ${{ steps.upgrade-to-replicated-sdk.outputs.license-id }} license-fields: '[{"name":"expires_at","value": ""}]' @@ -3557,8 +3565,16 @@ jobs: sleep 1 done + - run: rm -rf ./replicated-sdk + - name: Checkout replicated-sdk + uses: actions/checkout@v3 + with: + repository: replicatedhq/replicated-sdk + path: replicated-sdk + ref: 99e89cd2ced57d65fe0fed0476872e855e74ea34 # TODO: make this a variable + - name: Validate endpoints - uses: replicatedhq/replicated-sdk/.github/actions/validate-endpoints@99e89cd2ced57d65fe0fed0476872e855e74ea34 + uses: ./replicated-sdk/.github/actions/validate-endpoints with: license-id: ${{ steps.replicated-sdk-subchart-native-helm-v1.outputs.license-id }} license-fields: '[{"name":"expires_at","value": ""}]' @@ -3621,8 +3637,16 @@ jobs: sleep 1 done + - run: rm -rf ./replicated-sdk + - name: Checkout replicated-sdk + uses: actions/checkout@v3 + with: + repository: replicatedhq/replicated-sdk + path: replicated-sdk + ref: 99e89cd2ced57d65fe0fed0476872e855e74ea34 # TODO: make this a variable + - name: Validate endpoints - uses: replicatedhq/replicated-sdk/.github/actions/validate-endpoints@99e89cd2ced57d65fe0fed0476872e855e74ea34 + uses: ./replicated-sdk/.github/actions/validate-endpoints with: license-id: ${{ steps.replicated-sdk-subchart-replicated-helm.outputs.license-id }} license-fields: '[{"name":"expires_at","value": ""}]'