-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (24 loc) · 835 Bytes
/
dist.yml
File metadata and controls
31 lines (24 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
name: dist
on: [push]
jobs:
build-and-publish:
runs-on: ubuntu-latest
container:
image: wpilib/roborio-cross-ubuntu:2026-22.04-py314
steps:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
apt-get update
apt-get install -y cmake --no-install-recommends
pip3.14 install -r requirements.txt
- name: Build wheels
run: make package
- name: Publish package to WPILib artifactory
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
password: ${{ secrets.WPI_ARTIFACTORY_TOKEN }}
repository-url: https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2026-local