From 0d3ea998e9578a70a998479f0555a7d48784200c Mon Sep 17 00:00:00 2001 From: Luis Montero Date: Thu, 18 Jan 2024 11:26:56 +0100 Subject: [PATCH] chore: fix aws ami build action --- .github/workflows/cifar_benchmark.yaml | 2 +- .github/workflows/publish_aws_ami.yaml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cifar_benchmark.yaml b/.github/workflows/cifar_benchmark.yaml index 0f43d2b7cb..5f68eb02e0 100644 --- a/.github/workflows/cifar_benchmark.yaml +++ b/.github/workflows/cifar_benchmark.yaml @@ -182,7 +182,7 @@ jobs: curl --fail-with-body \ -H "Authorization: Bearer ${{ secrets.NEW_ML_PROGRESS_TRACKER_TOKEN }}" \ -H "Content-Type: application/json; charset=UTF-8" \ - --json @to_upload.json \ + -d @to_upload.json \ -X POST "${{ secrets.NEW_ML_PROGRESS_TRACKER_URL }}experiment" diff --git a/.github/workflows/publish_aws_ami.yaml b/.github/workflows/publish_aws_ami.yaml index 13a9a455b0..fe4333bda6 100644 --- a/.github/workflows/publish_aws_ami.yaml +++ b/.github/workflows/publish_aws_ami.yaml @@ -23,7 +23,6 @@ jobs: # FIXME: We still need to check that it matches a version tag # This won't work on automatically triggered based on release - name: Checkout Concrete ML Repository - if: ${{ github.event_name == 'workflow_dispatch' }} uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: ${{ inputs.version || github.ref_name}} @@ -33,7 +32,6 @@ jobs: # To use the files and all - name: Checkout Concrete ML Repository - if: ${{ github.event_name == 'workflow_dispatch' }} uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 1 @@ -74,7 +72,7 @@ jobs: SIGNATURE="$(bash slab/scripts/hmac_calculator.sh payload.json '${{ secrets.JOB_SECRET }}')" - curl -v -k \ + curl --fail-with-body -v -k \ -H "Content-Type: application/json" \ -H "X-Slab-Repository: ${{ github.repository }}" \ -H "X-Slab-Command: build_aws_ami" \