Skip to content

Add cache to build pipeline #3

Add cache to build pipeline

Add cache to build pipeline #3

Workflow file for this run

name: Build
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Cache build dependencies
uses: actions/cache@v3
env:
cache-name: cache-build-deps
with:
key: ${{ runner.os }}-build-${{ env.cache-name }}
path: .cache
- name: Run build script
run: |
./build.sh
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: sdist-and-wheels
path: |
target/wheels/*.tar.gz
target/wheels/*.whl