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

2024-3.0 envs #20

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
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
14 changes: 7 additions & 7 deletions .github/workflows/upload-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ jobs:
# bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection 1184244622 2024-1.0-py311

#
# Artifacts from https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/10189092932
# Artifacts from https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/11617248480
#

# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/10189092932/artifacts/1762475975
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1762475975 2024-2.3-py310-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/11617248480/artifacts/2129824845
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 2129824845 2024-3.0-py310-tiled

# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/10189092932/artifacts/1762489186
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1762489186 2024-2.3-py311-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/11617248480/artifacts/2129824832
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 2129824832 2024-3.0-py311-tiled

# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/10189092932/artifacts/1762475290
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1762475290 2024-2.3-py312-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/11617248480/artifacts/2129827138
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 2129827138 2024-3.0-py312-tiled

- name: Upload artifacts to Zenodo
run: |
Expand Down
6 changes: 3 additions & 3 deletions upload-artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def create_new_version(
# # need this empty line to enforce line break on Zenodo:
# "",
# tiled
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/pull/41",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/10189092932",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/pull/45",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/11617248480",
]
notes_urls_strs = "<br>\n".join([f'<a href="{url}">{url}</a>'
if url else ""
Expand Down Expand Up @@ -239,7 +239,7 @@ def update_deposition_with_files(conceptrecid=None, files=None, token=None):
if __name__ == "__main__":

conceptrecid = "4057062" # never changes, it's for the initial version.
version = "2024-2.3"
version = "2024-3.0"
token = os.environ["ZENODO_TOKEN"]

resp = create_new_version(
Expand Down