Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Updagte
Browse files Browse the repository at this point in the history
  • Loading branch information
codelink-jackiepham authored and amab8901 committed Dec 5, 2022
1 parent 0412341 commit 6e3d0b5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/manual_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push_benchmarks_indexing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push_benchmarks_search_geo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push_benchmarks_search_songs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push_benchmarks_search_wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e3d0b5

Please sign in to comment.