Skip to content

Commit b57209d

Browse files
committed
ci: Updated date
1 parent c9a005f commit b57209d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/benchmark-lcb.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
- name: Read
4545
run: cat ${{ github.workspace }}/riscv32.csv
4646
- name: Update csv
47-
run: awk -v hash="${{ github.sha }}" -v date="$(date --iso-8601=seconds)" -F',' '{print $0 "," hash "," date}' ${{ github.workspace }}/riscv32.csv > ${{ github.workspace }}/$(date --iso-8601=seconds)-${{ github.sha }}.csv
47+
run: awk -v hash="${{ github.sha }}" -v date="${{ github.event.repository.updated_at}}" -F',' '{print $0 "," hash "," date}' ${{ github.workspace }}/riscv32.csv > ${{ github.workspace }}/${{ github.event.repository.updated_at}}-${{ github.sha }}.csv
4848
- name: Read updated
49-
run: cat ${{ github.workspace }}/$(date --iso-8601=seconds)-${{ github.sha }}.csv
49+
run: cat ${{ github.workspace }}/${{ github.event.repository.updated_at }}-${{ github.sha }}.csv
5050
- name: Pushes csv
5151
uses: dmnemec/copy_file_to_another_repo_action@main
5252
env:
5353
API_TOKEN_GITHUB: ${{ secrets.ACCESS_TOKEN_RESSELPARK }}
5454
with:
55-
source_file: ${{ github.workspace }}/$(date --iso-8601=seconds)-${{ github.sha }}.csv
55+
source_file: ${{ github.workspace }}/${{ github.event.repository.updated_at }}-${{ github.sha }}.csv
5656
destination_repo: 'openVADL/resselpark'
5757
destination_branch: 'master'
5858
destination_folder: 'data/lcb/riscv32'

0 commit comments

Comments
 (0)