Skip to content

Commit 20d1bd5

Browse files
committed
Update deploy workflow
1 parent ea0e1fd commit 20d1bd5

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/pytest.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ on:
1212
schedule:
1313
- cron: "14 14 20 * *"
1414

15+
# Use bash by default in all jobs
16+
defaults:
17+
run:
18+
# Using "-l {0}" is necessary for conda environments to be activated
19+
# But this breaks on MacOS if using actions/setup-python:
20+
# https://github.com/actions/setup-python/issues/132
21+
shell: bash
22+
1523
# Cancel any previous run of the test job.
1624
concurrency:
1725
group: ${{ github.workflow }}-${{ github.ref }}
@@ -34,11 +42,6 @@ jobs:
3442
- name: Checkout
3543
uses: actions/checkout@v4
3644
with:
37-
# Need to fetch more than the last commit so that setuptools_scm can
38-
# create the correct version string. If the number of commits since
39-
# the last release is greater than this, the version still be wrong.
40-
# Increase if necessary.
41-
fetch-depth: 100
4245
# The GitHub token is preserved by default but this job doesn't need
4346
# to be able to push to GitHub.
4447
persist-credentials: false
@@ -70,6 +73,10 @@ jobs:
7073
# Checks-out your repository under $GITHUB_WORKSPACE
7174
- name: Checkout
7275
uses: actions/checkout@v4
76+
with:
77+
# The GitHub token is preserved by default but this job doesn't need
78+
# to be able to push to GitHub.
79+
persist-credentials: false
7380

7481
- name: Setup Python
7582
uses: actions/setup-python@v5
@@ -88,6 +95,8 @@ jobs:
8895
echo ""
8996
echo "Generated files:"
9097
ls -lh dist/
98+
# Remove wheel
99+
rm dist/fftlog*.whl
91100
92101
- name: Publish to PyPI
93102
# Only for releases

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Changelog
55
v0.2.2 : Update home and build backend
66
--------------------------------------
77

8-
**2024-12-30**
8+
**2024-12-31**
99

1010
No code changes. What changed:
1111
- Moved from github.com/prisae to github.com/emsig.

0 commit comments

Comments
 (0)