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-2.2 envs #18

Merged
merged 1 commit into from
Jul 2, 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 @@ -50,17 +50,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/9615874852
# Artifacts from https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9762354757
#

# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9615874852/artifacts/1625317555
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1625317555 2024-2.1-py310-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9762354757/artifacts/1659882224
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1659882224 2024-2.2-py310-tiled

# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9615874852/artifacts/1625326776
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1625326776 2024-2.1-py311-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9762354757/artifacts/1659892647
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1659892647 2024-2.2-py311-tiled

# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9615874852/artifacts/1625315849
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1625315849 2024-2.1-py312-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9762354757/artifacts/1659882347
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1659882347 2024-2.2-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/37",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9615874852",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/pull/39",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/9762354757",
]
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.1"
version = "2024-2.2"
token = os.environ["ZENODO_TOKEN"]

resp = create_new_version(
Expand Down