diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8f0b4ef..7ee70772 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -185,6 +185,10 @@ jobs: cd $PWD/extras/test/ci ./build_examples.sh ${{ matrix.id }} "${{ steps.prep.outputs.skip-pattern }}" ${{ steps.prep.outputs.options }} + - name: Extract short commit hash + id: short-hash + run: echo "::set-output name=short_sha::$(git rev-parse --short HEAD)" + - name: Parse sizes if: ${{ env.run-build == 'true' }} run: @@ -193,10 +197,6 @@ jobs: ./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 - id: short-hash - run: echo "::set-output name=short_sha::$(git rev-parse --short HEAD)" - - name: Upload size report as artifact uses: actions/upload-artifact@v4 with: