Skip to content

Commit

Permalink
[Python] Reuse the action-publish-pypi in release-pypi.yaml
Browse files Browse the repository at this point in the history
Also remove the other release workflows to only test pypi.
  • Loading branch information
brasmusson committed Jan 18, 2024
1 parent 650109d commit 501bff5
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 151 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/release-cpan.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/release-github.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/release-mvn.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/release-npm.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/release-nuget.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/release-php.yaml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/release-pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release Python

on:
push:
branches: [release/*]

jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: Release
permissions:
id-token: write
defaults:
run:
working-directory: python
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Show Python version
run: python --version

- uses: cucumber/action-publish-pypi@v2.0.0
with:
working-directory: "python"
21 changes: 0 additions & 21 deletions .github/workflows/release-rubygem.yml

This file was deleted.

0 comments on commit 501bff5

Please sign in to comment.