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

ci: 🎡 more CI fix spam, fix hashFiles glob and more #145

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Changes from all 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
13 changes: 1 addition & 12 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,17 +242,6 @@ jobs:
run: |
pdm install -G build -G release --no-self --frozen-lockfile -v

- name: Increment version if releasing
id: semantic-version
if: github.event_name != 'workflow_call'
run: |
current_version=$(grep '^version =' pyproject.toml | head -1 | cut -d '"' -f 2)
next_version=$(pdm run semantic-release version --patch --print 2>/dev/null)
echo "version=$next_version" >> "$GITHUB_OUTPUT"
if [ $next_version != $current_version ]; then
pdm run semantic-release version --patch --skip-build --no-commit --no-tag --no-vcs-release --no-changelog
fi

- name: Setup macOS environment
if: contains(matrix.os, 'macos')
run: |
Expand Down Expand Up @@ -312,7 +301,7 @@ jobs:
id: cache-sdist
uses: actions/cache/restore@v4
with:
key: sdist-${{ hashFiles('./src', './README.md', 'LICENSE', '*.py') }}
key: sdist-${{ hashFiles('src/**', 'README.md', 'LICENSE', '*.py') }}
path: |
dist/*.tar.gz

Expand Down
Loading