tracinginsights's picture
download
raw
2.18 kB
name: Sparse FP1
on:
workflow_dispatch:
schedule:
- cron: '30 12 23 5 *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: 1
jobs:
extract-telemetry:
runs-on: ubuntu-latest
steps:
- name: Checkout repository (Sparse)
uses: actions/checkout@v4 # Updated
with:
fetch-depth: 1
sparse-checkout: |
telFP1.py
requirements.txt
cache/1.txt
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH # Corrected path based on uv log
- name: Cache uv internal cache
uses: actions/cache@v4 # Updated
with:
path: |
~/.cache/uv
~/.uv
key: ${{ runner.os }}-uv-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-uv-
- name: Install dependencies with uv
run: |
uv pip install --system -r requirements.txt
- name: Configure Git
run: |
git config --local user.name "github-actions"
git config --local user.email "action@github.com"
git config --global core.compression 0
git config --global core.preloadIndex true
git config --global core.fsyncMethod batch
- name: Run Telemetry Extraction
run: python telFP1.py
env:
GITHUB_ACTIONS: "true"
- name: Commit and push changes
run: |
git pull --no-rebase --no-edit origin main || true
git add .
if [[ "$(git status --porcelain)" != "" ]]; then
git commit -m "Update F1 telemetry data [skip ci]" -a
git push origin main
else
echo "No changes to commit"
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Xet Storage Details

Size:
2.18 kB
·
Xet hash:
89188ed1ca571abaebe29e38eb93bb0f623fc413122ad27ef34ed1784f48c352

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.