File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1- examples /input_data /* .nc filter =lfs diff =lfs merge =lfs - text
21tests /fixture /temperature_simh.zarr filter =lfs diff =lfs merge =lfs - text
32tests /fixture /temperature_simp.zarr filter =lfs diff =lfs merge =lfs - text
43tests /fixture /precipitation_obsh.zarr filter =lfs diff =lfs merge =lfs - text
Original file line number Diff line number Diff line change 3232 with :
3333 fetch-depth : 0 # IMPORTANT: otherwise the current tag does not get fetched and the build version gets worse
3434
35+ - name : Check Git status
36+ run : |
37+ if [[ -z "$(git status --porcelain)" ]]; then
38+ echo "No changes found."
39+ else
40+ echo "Changes detected. Please commit or discard changes before publishing."
41+ git status --porcelain
42+ exit 1
43+ fi
44+
3545 - name : Set up Python 3.11
3646 uses : actions/setup-python@v4
3747 with :
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ jobs:
105105 if : |
106106 success() &&
107107 github.actor == 'btschwertfeger' &&
108+ github.ref == 'refs/heads/master' &&
108109 github.event_name == 'release'
109110 needs : [Test]
110111 name : Upload the current release to PyPI
You can’t perform that action at this time.
0 commit comments