From d1fef75aeaf8532e8d931011c1c82c302900bbca Mon Sep 17 00:00:00 2001 From: youben11 Date: Tue, 4 Jan 2022 17:36:40 +0100 Subject: [PATCH] fix: change api link after repo renaming --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e48f2a599..83a261b26 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -379,8 +379,8 @@ jobs: - name: Download and Install Package run: | wget --auth-no-challenge --header='Accept:application/octet-stream' \ - "https://${{ secrets.GH_TOKEN_RELEASE }}:@api.github.com/repos/zama-ai/homomorphizer/releases/assets/`curl -s -u "zama-bot:${{ secrets.GH_TOKEN_RELEASE }}" \ - https://api.github.com/repos/zama-ai/homomorphizer/releases | \ + "https://${{ secrets.GH_TOKEN_RELEASE }}:@api.github.com/repos/zama-ai/${{ github.repository }}/releases/assets/`curl -s -u "zama-bot:${{ secrets.GH_TOKEN_RELEASE }}" \ + https://api.github.com/repos/zama-ai/${{ github.repository }}/releases | \ jq 'map(select(.tag_name == "${{ github.ref_name }}"))' | \ jq '.[0].assets' | \ jq 'map(select(.name == "${{ steps.extract-filename.outputs.FILE_NAME }}" ))' | \ @@ -420,8 +420,8 @@ jobs: - name: Download and Install Package run: | wget --auth-no-challenge --header='Accept:application/octet-stream' \ - "https://${{ secrets.GH_TOKEN_RELEASE }}:@api.github.com/repos/zama-ai/homomorphizer/releases/assets/`curl -s -u "zama-bot:${{ secrets.GH_TOKEN_RELEASE }}" \ - https://api.github.com/repos/zama-ai/homomorphizer/releases | \ + "https://${{ secrets.GH_TOKEN_RELEASE }}:@api.github.com/repos/zama-ai/${{ github.repository }}/releases/assets/`curl -s -u "zama-bot:${{ secrets.GH_TOKEN_RELEASE }}" \ + https://api.github.com/repos/zama-ai/${{ github.repository }}/releases | \ jq 'map(select(.tag_name == "${{ github.ref_name }}"))' | \ jq '.[0].assets' | \ jq 'map(select(.name == "${{ steps.extract-filename.outputs.FILE_NAME }}" ))' | \