Skip to content

Gravity

Gravity #221

Workflow file for this run

name: Gravity
on:
workflow_run:
workflows: ["Build"]
types:
- completed
jobs:
gravity:
name: Run Gravity
runs-on: ubuntu-latest
if: >
github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/download-artifact@v5
with:
name: artifacts
path: artifacts
- run: pnpm dlx @gravityci/cli "artifacts" # keep track of the sizes of both the .crate file as well as the binary
env:
GRAVITY_SHA: ${{ github.event.workflow_run.head_sha }}
GRAVITY_TOKEN: ${{ secrets.GRAVITY_TOKEN }}