Skip to content

Commit 3e494a1

Browse files
committed
chore(ci): enable push boilerplate workflow
1 parent c3401a1 commit 3e494a1

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

.github/workflows/publish.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
1-
# name: Publish Package
2-
3-
# on:
4-
# push:
5-
# tags:
6-
# - 'v*'
7-
8-
# jobs:
9-
# test:
10-
# uses: ./.github/workflows/test.yml
11-
12-
# build:
13-
# needs: test
14-
# uses: ./.github/workflows/build.yml
15-
16-
# publish:
17-
# needs: build
18-
# runs-on: ubuntu-latest
19-
20-
# steps:
21-
# - uses: actions/checkout@v4
22-
23-
# - name: Set up Python
24-
# uses: actions/setup-python@v5
25-
# with:
26-
# python-version: '3.9'
27-
28-
# - name: Install Poetry
29-
# uses: abatilo/actions-poetry@v4
30-
# with:
31-
# poetry-version: latest
32-
33-
# - name: Setup virtualenv
34-
# run: |
35-
# poetry config virtualenvs.create true --local
36-
# poetry config virtualenvs.in-project true --local
37-
38-
# - name: Configure Poetry
39-
# run: |
40-
# poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
1+
name: Publish Package
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
test:
10+
uses: ./.github/workflows/test.yml
11+
12+
build:
13+
needs: test
14+
uses: ./.github/workflows/build.yml
15+
16+
publish:
17+
needs: build
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Set up Python
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: '3.9'
27+
28+
- name: Install Poetry
29+
uses: abatilo/actions-poetry@v4
30+
with:
31+
poetry-version: latest
32+
33+
- name: Setup virtualenv
34+
run: |
35+
poetry config virtualenvs.create true --local
36+
poetry config virtualenvs.in-project true --local
37+
38+
- name: Configure Poetry
39+
run: |
40+
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
4141
4242
# - name: Download artifact
4343
# uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)