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 f540a11 commit d61505aCopy full SHA for d61505a
.github/workflows/publish.yaml
@@ -0,0 +1,26 @@
1
+name: Publish metaflow-card-notebook to pypi (Manual)
2
+on:
3
+ workflow_dispatch:
4
+jobs:
5
+ deploy:
6
+ runs-on: ubuntu-latest
7
+ permissions:
8
+ id-token: write
9
+ contents: read
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Set up Python 3.x
13
+ uses: actions/setup-python@v1
14
+ with:
15
+ python-version: '3.11'
16
+ - name: Install Python 3.x dependencies
17
+ run: |
18
+ python3 -m pip install --upgrade pip==22.3.1
19
+ pip3 install setuptools==65.5.0 wheel==0.38.4 twine==4.0.2
20
+ - name: Build package
21
22
+ python3 setup.py sdist bdist_wheel --universal
23
+ - name: Publish package
24
+ uses: pypa/gh-action-pypi-publish@release/v1
25
26
+ packages-dir: ./dist
0 commit comments