Skip to content

Commit

Permalink
chore(pulumi): auto-applied workflow
Browse files Browse the repository at this point in the history
this file was auto-applied from pulumi
located here:
    - https://github.com/octodns-infomaniak/.github

Signed-off-by: Ludovic Ortega <[email protected]>
  • Loading branch information
M0NsTeRRR committed Nov 15, 2024
1 parent e1ed08c commit 134fd72
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- '*'
permissions:
contents: write
id-token: write
jobs:

changelog:
Expand Down Expand Up @@ -37,30 +36,10 @@ changelog:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


package:
name: Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --all-extras
- name: Publish package
run: |
sed -i -e "s/0.0.0/${GITHUB_REF#refs/*/}/" pyproject.toml
uv build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
publish_release:
name: Publish release
runs-on: ubuntu-latest
needs: [create_draft_release, changelog, package]
needs: [create_draft_release, changelog]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 134fd72

Please sign in to comment.