Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update poetry publish workflow version to latest #430

Merged
merged 34 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
publish-snapshot-version:
name: Publish snapshot to TestPyPI
needs: [test]
uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-snapshot.yaml@v1.25.0
uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-snapshot.yaml@1.40.4
secrets:
pypi-token: ${{ secrets.TEST_PYPI_TOKEN }}

Expand All @@ -91,7 +91,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Publish docs from main branch
uses: ./.github/actions/update-docs
Expand All @@ -106,7 +106,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ on:

jobs:
publish:
uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-pypi.yaml@1.25.3
uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-pypi.yaml@1.40.4
with:
publish-to-test: false
poetry-version: "1.5.1"
disrupted marked this conversation as resolved.
Show resolved Hide resolved
secrets:
pypi-token: "${{ secrets.PYPI_TOKEN }}"
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
create-github-release-push-tag:
uses: bakdata/ci-templates/.github/workflows/[email protected].1
uses: bakdata/ci-templates/.github/workflows/[email protected].4
name: Release
with:
release-type: ${{ inputs.release-type }}
Expand All @@ -33,7 +33,7 @@ jobs:
needs: create-github-release-push-tag
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all tags; Required for doc versioning

Expand Down