File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish to PyPI
2
+ on :
3
+ push :
4
+ tags :
5
+ - test-v*
6
+ jobs :
7
+ build-and-publish :
8
+ runs-on : ubuntu-latest
9
+ environment :
10
+ name : pypi
11
+ url : ' https://pypi.org/p/pypi-browser-webapp'
12
+ permissions :
13
+ id-token : write
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - uses : actions/setup-python@v4
17
+ with :
18
+ python-version : ' 3.13'
19
+ - name : Install dependencies
20
+ run : pip install build
21
+ - name : Build Python artifacts
22
+ run : python -m build --sdist --wheel --outdir dist
23
+ - name : Publish to PyPI
24
+ uses : pypa/gh-action-pypi-publish@release/v1
25
+ with :
26
+ skip-existing : true
27
+ # - name: Login to GitHub Container Registry
28
+ # uses: docker/login-action@v2
29
+ # with:
30
+ # registry: ghcr.io
31
+ # username: ${{ github.actor }}
32
+ # password: ${{ secrets.GITHUB_TOKEN }}
33
+ # - name: Build and push Docker image
34
+ # uses: docker/build-push-action@v4
35
+ # with:
36
+ # tags: 'ghcr.io/chriskuehl/fluffy-server:latest,ghcr.io/chriskuehl/fluffy-server:${{ github.ref_name }}'
37
+ # push: true
You can’t perform that action at this time.
0 commit comments