Skip to content

Commit

Permalink
chore: 🤖 update
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Jul 14, 2024
1 parent 51168a4 commit 2f32827
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# if: ${{ github.ref_name == 'main' }}
outputs:
time: ${{ steps.run.outputs.COMPILE_TIME }}
# binary_size: ${{ steps.run.outputs.BINARY_SIZE }}
binary_size: ${{ steps.run.outputs.BINARY_SIZE }}
steps:
- uses: taiki-e/checkout-action@v1
- name: Checkout repo
Expand All @@ -31,15 +31,14 @@ jobs:
COMPILE_TIME=$(cat output)
echo $COMPILE_TIME
echo "COMPILE_TIME=$COMPILE_TIME" >> $GITHUB_OUTPUT
BINARY_SIZE=$(ls -l ./target/release/librolldown_binding.so | awk '{print $5}')
BINARY_SIZE=$(ls -l ./target/release/testcase | awk '{print $5}')
echo $BINARY_SIZE
echo "BINARY_SIZE=$BINARY_SIZE" >> $GITHUB_OUTPUT
echo $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
# BINARY_SIZE=$(ls -l ./target/release/librolldown_binding.so | awk '{print $5}')
# BINARY_SIZE=$(ls -l ./target/release/testcase | awk '{print $5}')
# echo $BINARY_SIZE
# echo "BINARY_SIZE=$BINARY_SIZE" >> $GITHUB_OUTPUT
# echo $GITHUB_OUTPUT
metric:
name: Metric
needs: [compile-time-and-binary-size]
Expand Down Expand Up @@ -75,8 +74,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPILE_TIME: ${{ needs.compile-time.outputs.time }}
COMPILE_TIME: ${{ needs.compile-time-and-binary-size.outputs.time }}
COMMIT_HASH: ${{ github.sha }}
GIT_REPOSITORY_URL: ${{ github.repository }}
# BINARY_SIZE: ${{ needs.compile-time.outputs.binary_size }}
BINARY_SIZE: ${{ needs.compile-time-and-binary-size.outputs.binary_size }}

0 comments on commit 2f32827

Please sign in to comment.