Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Nov 16, 2023
1 parent 478ce65 commit dce7d50
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,23 @@ on:
types: [published]

jobs:
pypi-upload:
pypi-publish:
runs-on: ubuntu-latest

environment:
name: release
url: https://pypi.org/project/collective.elastic.ingest/

environment: release
permissions:
id-token: write

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"

- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
Expand All @@ -38,13 +30,12 @@ jobs:
--wheel
--outdir dist/
.
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

build-image:
publish-image:
runs-on: ubuntu-latest
needs: pypi-upload
needs: pypi-publish
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit dce7d50

Please sign in to comment.