Skip to content

Commit fa9e088

Browse files
authored
Merge pull request #26 from stevenhua0320/config
style: change workflow to open source.
2 parents 6286a4d + e42a13c commit fa9e088

File tree

3 files changed

+22
-231
lines changed

3 files changed

+22
-231
lines changed

.github/workflows/build-wheel-release.yml

Lines changed: 0 additions & 230 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release (GitHub/PyPI) and Deploy Docs
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- "*" # Trigger on all tags initially, but tag and release privilege are verified in _build-wheel-release-upload.yml
8+
9+
jobs:
10+
release:
11+
uses: scikit-package/release-scripts/.github/workflows/_build-wheel-release-upload.yml@v0
12+
with:
13+
project: diffpy.srxplanar
14+
c_extension: false
15+
maintainer_github_username: sbillinge
16+
17+
secrets:
18+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
19+
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}

.github/workflows/matrix-no-codecov-on-merge-to-main.yml renamed to .github/workflows/matrix-and-codecov-on-merge-to-main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ on:
1212

1313
jobs:
1414
matrix-coverage:
15-
uses: scikit-package/release-scripts/.github/workflows/_matrix-no-codecov-on-merge-to-main.yml@v0
15+
uses: scikit-package/release-scripts/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml@v0
1616
with:
1717
project: diffpy.srxplanar
1818
c_extension: false
1919
headless: false
20+
secrets:
21+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)