[CI] Only push metrics from master
This commit is contained in:
parent
73b6a7d5e9
commit
d0cfd5a461
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -191,6 +191,7 @@ jobs:
|
||||||
|
|
|
|
||||||
cd $PWD/extras/test/ci
|
cd $PWD/extras/test/ci
|
||||||
./parse_size.sh ${{ matrix.id }}
|
./parse_size.sh ${{ matrix.id }}
|
||||||
|
cat size_${{ steps.short-hash.outputs.short_sha }}_${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ steps.split.outputs._2 }}.csv
|
||||||
|
|
||||||
- name: Extract short commit hash
|
- name: Extract short commit hash
|
||||||
id: short-hash
|
id: short-hash
|
||||||
|
@ -205,6 +206,7 @@ jobs:
|
||||||
metrics:
|
metrics:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- name: Set up SSH
|
- name: Set up SSH
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue