From 5f785220447df20519b244cc0f0bafa94a5309fc Mon Sep 17 00:00:00 2001 From: Minh Pham Date: Tue, 29 Nov 2022 10:11:38 +0700 Subject: [PATCH] Updagte --- .github/workflows/manual_benchmarks.yml | 8 ++++---- .github/workflows/push_benchmarks_indexing.yml | 8 ++++---- .github/workflows/push_benchmarks_search_geo.yml | 8 ++++---- .github/workflows/push_benchmarks_search_songs.yml | 8 ++++---- .github/workflows/push_benchmarks_search_wiki.yml | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/manual_benchmarks.yml b/.github/workflows/manual_benchmarks.yml index 17e006224..615f98d56 100644 --- a/.github/workflows/manual_benchmarks.yml +++ b/.github/workflows/manual_benchmarks.yml @@ -27,19 +27,19 @@ jobs: # Set variables - name: Set current branch name shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/})" id: current_branch - name: Set normalized current branch name # Replace `/` by `_` in branch name to avoid issues when pushing to S3 shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" id: normalized_current_branch - name: Set shorter commit SHA shell: bash - run: echo "##[echo "name=short" >> $GITHUB_SHA;]$(echo $GITHUB_SHA | cut -c1-8)" + run: echo "##[echo "name=short" >> $GITHUB_OUTPUT;]$(echo $GITHUB_SHA | cut -c1-8)" id: commit_sha - name: Set file basename with format "dataset_branch_commitSHA" shell: bash - run: echo "##[echo "name=basename" >> $BENCH_NAME;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" + run: echo "##[echo "name=basename" >> $GITHUB_OUTPUT;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" id: file # Run benchmarks diff --git a/.github/workflows/push_benchmarks_indexing.yml b/.github/workflows/push_benchmarks_indexing.yml index 9b53a3940..9491b30df 100644 --- a/.github/workflows/push_benchmarks_indexing.yml +++ b/.github/workflows/push_benchmarks_indexing.yml @@ -25,19 +25,19 @@ jobs: # Set variables - name: Set current branch name shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/})" id: current_branch - name: Set normalized current branch name # Replace `/` by `_` in branch name to avoid issues when pushing to S3 shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" id: normalized_current_branch - name: Set shorter commit SHA shell: bash - run: echo "##[echo "name=short" >> $GITHUB_SHA;]$(echo $GITHUB_SHA | cut -c1-8)" + run: echo "##[echo "name=short" >> $GITHUB_OUTPUT;]$(echo $GITHUB_SHA | cut -c1-8)" id: commit_sha - name: Set file basename with format "dataset_branch_commitSHA" shell: bash - run: echo "##[echo "name=basename" >> ${BENCH_NAME};]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" + run: echo "##[echo "name=basename" >> $GITHUB_OUTPUT;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" id: file # Run benchmarks diff --git a/.github/workflows/push_benchmarks_search_geo.yml b/.github/workflows/push_benchmarks_search_geo.yml index a1b18f6bd..6f6695f17 100644 --- a/.github/workflows/push_benchmarks_search_geo.yml +++ b/.github/workflows/push_benchmarks_search_geo.yml @@ -24,19 +24,19 @@ jobs: # Set variables - name: Set current branch name shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/})" id: current_branch - name: Set normalized current branch name # Replace `/` by `_` in branch name to avoid issues when pushing to S3 shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" id: normalized_current_branch - name: Set shorter commit SHA shell: bash - run: echo "##[echo "name=short" >> $GITHUB_SHA;]$(echo $GITHUB_SHA | cut -c1-8)" + run: echo "##[echo "name=short" >> $GITHUB_OUTPUT;]$(echo $GITHUB_SHA | cut -c1-8)" id: commit_sha - name: Set file basename with format "dataset_branch_commitSHA" shell: bash - run: echo "##[echo "name=basename" >> $BENCH_NAME;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" + run: echo "##[echo "name=basename" >> $GITHUB_OUTPUT;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" id: file # Run benchmarks diff --git a/.github/workflows/push_benchmarks_search_songs.yml b/.github/workflows/push_benchmarks_search_songs.yml index 4f1f631ba..c913e2c39 100644 --- a/.github/workflows/push_benchmarks_search_songs.yml +++ b/.github/workflows/push_benchmarks_search_songs.yml @@ -24,19 +24,19 @@ jobs: # Set variables - name: Set current branch name shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/})" id: current_branch - name: Set normalized current branch name # Replace `/` by `_` in branch name to avoid issues when pushing to S3 shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" id: normalized_current_branch - name: Set shorter commit SHA shell: bash - run: echo "##[echo "name=short" >> $GITHUB_SHA;]$(echo $GITHUB_SHA | cut -c1-8)" + run: echo "##[echo "name=short" >> $GITHUB_OUTPUT;]$(echo $GITHUB_SHA | cut -c1-8)" id: commit_sha - name: Set file basename with format "dataset_branch_commitSHA" shell: bash - run: echo "##[echo "name=basename" >> $BENCH_NAME;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" + run: echo "##[echo "name=basename" >> $GITHUB_OUTPUT;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" id: file # Run benchmarks diff --git a/.github/workflows/push_benchmarks_search_wiki.yml b/.github/workflows/push_benchmarks_search_wiki.yml index 7abf0661f..0b43e5ec1 100644 --- a/.github/workflows/push_benchmarks_search_wiki.yml +++ b/.github/workflows/push_benchmarks_search_wiki.yml @@ -24,19 +24,19 @@ jobs: # Set variables - name: Set current branch name shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/})" id: current_branch - name: Set normalized current branch name # Replace `/` by `_` in branch name to avoid issues when pushing to S3 shell: bash - run: echo "##[echo "name=name" >> $GITHUB_REF;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" + run: echo "##[echo "name=name" >> $GITHUB_OUTPUT;]$(echo ${GITHUB_REF#refs/heads/} | tr '/' '_')" id: normalized_current_branch - name: Set shorter commit SHA shell: bash - run: echo "##[echo "name=short" >> $GITHUB_SHA;]$(echo $GITHUB_SHA | cut -c1-8)" + run: echo "##[echo "name=short" >> $GITHUB_OUTPUT;]$(echo $GITHUB_SHA | cut -c1-8)" id: commit_sha - name: Set file basename with format "dataset_branch_commitSHA" shell: bash - run: echo "##[echo "name=basename" >> $BENCH_NAME;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" + run: echo "##[echo "name=basename" >> $GITHUB_OUTPUT;]$(echo ${BENCH_NAME}_${{ steps.normalized_current_branch.outputs.name }}_${{ steps.commit_sha.outputs.short }})" id: file # Run benchmarks