Skip to content

Commit e2006ca

Browse files
committed
Update build-and-publish
1 parent 1335429 commit e2006ca

2 files changed

Lines changed: 19 additions & 9 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,30 @@ jobs:
1414
permissions:
1515
contents: write
1616
steps:
17-
- name: SCM Checkout
17+
- name: Check out Repository
18+
id: check-out-repo
1819
uses: actions/checkout@v6
1920

20-
- name: Setup Python & Poetry Environment
21-
uses: ./.github/actions/python-environment
21+
- name: Set up Python & Poetry Environment
22+
id: set-up-python-and-poetry-environment
23+
uses: exasol/python-toolbox/.github/actions/python-environment@v5
2224
with:
2325
python-version: "3.10"
2426
poetry-version: "2.3.0"
2527

2628
- name: Build Artifacts
29+
id: build-artifacts
2730
run: poetry build
2831

29-
- name: PyPi Release
32+
- name: Publish Release to PyPi
33+
id: publish-release-to-pypi
3034
env:
3135
POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
3236
POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
3337
run: poetry publish
3438

35-
- name: GitHub Release
39+
- name: Publish Release to GitHub
40+
id: publish-release-to-github
3641
env:
3742
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3843
run: >-

exasol/toolbox/templates/github/workflows/build-and-publish.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,30 @@ jobs:
1414
permissions:
1515
contents: write
1616
steps:
17-
- name: SCM Checkout
17+
- name: Check out Repository
18+
id: check-out-repo
1819
uses: actions/checkout@v6
1920

20-
- name: Setup Python & Poetry Environment
21+
- name: Set up Python & Poetry Environment
22+
id: set-up-python-and-poetry-environment
2123
uses: exasol/python-toolbox/.github/actions/python-environment@v5
2224
with:
2325
python-version: "(( minimum_python_version ))"
2426
poetry-version: "(( dependency_manager_version ))"
2527

2628
- name: Build Artifacts
29+
id: build-artifacts
2730
run: poetry build
2831

29-
- name: PyPi Release
32+
- name: Publish Release to PyPi
33+
id: publish-release-to-pypi
3034
env:
3135
POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
3236
POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
3337
run: poetry publish
3438

35-
- name: GitHub Release
39+
- name: Publish Release to GitHub
40+
id: publish-release-to-github
3641
env:
3742
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3843
run: >

0 commit comments

Comments
 (0)