Skip to content

Commit 829b2e8

Browse files
committed
ci: Updated date
1 parent c9a005f commit 829b2e8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/benchmark-lcb.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: benchmark LCB
22

33
on:
44
push:
5-
branches:
6-
- master
75

86
permissions:
97
contents: read
@@ -44,15 +42,15 @@ jobs:
4442
- name: Read
4543
run: cat ${{ github.workspace }}/riscv32.csv
4644
- 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
45+
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
4846
- name: Read updated
49-
run: cat ${{ github.workspace }}/$(date --iso-8601=seconds)-${{ github.sha }}.csv
47+
run: cat ${{ github.workspace }}/${{ github.event.repository.updated_at }}-${{ github.sha }}.csv
5048
- name: Pushes csv
5149
uses: dmnemec/copy_file_to_another_repo_action@main
5250
env:
5351
API_TOKEN_GITHUB: ${{ secrets.ACCESS_TOKEN_RESSELPARK }}
5452
with:
55-
source_file: ${{ github.workspace }}/$(date --iso-8601=seconds)-${{ github.sha }}.csv
53+
source_file: ${{ github.workspace }}/${{ github.event.repository.updated_at }}-${{ github.sha }}.csv
5654
destination_repo: 'openVADL/resselpark'
5755
destination_branch: 'master'
5856
destination_folder: 'data/lcb/riscv32'

0 commit comments

Comments
 (0)