Skip to content

Commit

Permalink
Update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
prisae committed Dec 31, 2024
1 parent ea0e1fd commit 20d1bd5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ on:
schedule:
- cron: "14 14 20 * *"

# Use bash by default in all jobs
defaults:
run:
# Using "-l {0}" is necessary for conda environments to be activated
# But this breaks on MacOS if using actions/setup-python:
# https://github.com/actions/setup-python/issues/132
shell: bash

# Cancel any previous run of the test job.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -34,11 +42,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
# Need to fetch more than the last commit so that setuptools_scm can
# create the correct version string. If the number of commits since
# the last release is greater than this, the version still be wrong.
# Increase if necessary.
fetch-depth: 100
# The GitHub token is preserved by default but this job doesn't need
# to be able to push to GitHub.
persist-credentials: false
Expand Down Expand Up @@ -70,6 +73,10 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v4
with:
# The GitHub token is preserved by default but this job doesn't need
# to be able to push to GitHub.
persist-credentials: false

- name: Setup Python
uses: actions/setup-python@v5
Expand All @@ -88,6 +95,8 @@ jobs:
echo ""
echo "Generated files:"
ls -lh dist/
# Remove wheel
rm dist/fftlog*.whl
- name: Publish to PyPI
# Only for releases
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Changelog
v0.2.2 : Update home and build backend
--------------------------------------

**2024-12-30**
**2024-12-31**

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

0 comments on commit 20d1bd5

Please sign in to comment.