Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Commit 6a1b778

Browse files
authored
Merge pull request #66 from rapidsai/update-workflows
Update GitHub Action workflows
2 parents e06e14a + 5d9647e commit 6a1b778

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and upload Frigate python package to PyPI and Conda
1+
name: build
22

33
on:
44
push:

.github/workflows/build_conda_and_pypi.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defaults:
1010
shell: bash
1111

1212
jobs:
13-
conda-python-build:
13+
conda-build:
1414
runs-on: ubuntu-latest
1515
container:
1616
image: condaforge/mambaforge
@@ -32,28 +32,23 @@ jobs:
3232
RAPIDS_CONDA_TOKEN=${{ secrets.CONDA_RAPIDSAI_TOKEN }}
3333
fi
3434
anaconda -t "${RAPIDS_CONDA_TOKEN}" upload --skip-existing --no-progress /tmp/frigate-bld/noarch/*.tar.bz2
35-
wheel-build-frigate:
35+
wheel-build:
3636
runs-on: ubuntu-latest
37-
3837
steps:
3938
- name: Checkout code
4039
uses: actions/checkout@v3
4140
with:
4241
fetch-depth: 0
43-
4442
- name: Set up Python
4543
uses: actions/setup-python@v4
4644
with:
4745
python-version: "3.10"
48-
4946
- name: Install dependencies
5047
run: |
5148
python -m pip install --upgrade pip
5249
pip install wheel setuptools twine
53-
5450
- name: Build package
5551
run: python setup.py sdist bdist_wheel
56-
5752
- name: Upload to PyPI
5853
if: inputs.upload == true
5954
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: $CONDA/bin/conda install -c conda-forge pre-commit
2121
- name: Run check style
2222
run: $CONDA/bin/pre-commit run --hook-stage manual --all-files --show-diff-on-failure
23-
python-build:
23+
build:
2424
needs: check-style
2525
name: Build Frigate Package
2626
uses: ./.github/workflows/build_conda_and_pypi.yaml
@@ -29,5 +29,5 @@ jobs:
2929
pr-builder:
3030
needs:
3131
- check-style
32-
- python-build
32+
- build
3333
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected]

0 commit comments

Comments
 (0)