We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aacac7 commit 4eafb24Copy full SHA for 4eafb24
.github/workflows/ci.yml
@@ -87,3 +87,26 @@ jobs:
87
88
- name: Ensure formatter made no changes
89
run: git --no-pager diff --exit-code HEAD
90
+
91
+ publish:
92
+ name: Publish
93
+ runs-on: ubuntu-latest
94
+ if: ${{ github.repository_owner == 'wpilibsuite' && github.ref == 'refs/heads/master' }}
95
+ steps:
96
+ - uses: actions/checkout@v2
97
+ with:
98
+ fetch-depth: 0
99
100
+ - uses: actions/setup-python@v2
101
102
+ python-version: 3.7
103
104
+ - name: Build package
105
+ run: python setup.py bdist_wheel
106
+ working-directory: wpiformat
107
108
+ - name: Upload package to PyPi
109
+ uses: pypa/[email protected]
110
111
+ packages_dir: wpiformat/dist
112
+ password: ${{ secrets.PYPI_PASSWORD }}
0 commit comments