Skip to content

Commit

Permalink
Merge pull request #13 from nsls2-conda-envs/2024-1.0
Browse files Browse the repository at this point in the history
2024-1.0 envs
  • Loading branch information
mrakitin authored Jan 22, 2024
2 parents 25a9e9e + fdb13aa commit 1f6a363
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,24 @@ jobs:
set -vxeuo pipefail
#
# Artifacts from https://github.com/nsls2-conda-envs/nsls2-collection/actions/runs/6893976610
# Artifacts from https://github.com/nsls2-conda-envs/nsls2-collection/actions/runs/7603753363
#
# https://github.com/nsls2-conda-envs/nsls2-collection/suites/18255528211/artifacts/1055088073
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection 1055088073 2023-3.3-py310
# https://github.com/nsls2-conda-envs/nsls2-collection/actions/runs/7603753363/artifacts/1184244620
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection 1184244620 2024-1.0-py310
# https://github.com/nsls2-conda-envs/nsls2-collection/suites/18255528211/artifacts/1055088080
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection 1055088080 2023-3.3-py311
# https://github.com/nsls2-conda-envs/nsls2-collection/actions/runs/7603753363/artifacts/1184244622
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/6893985933
# Artifacts from https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/7602968629
#
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/suites/18255550871/artifacts/1055091555
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1055091555 2023-3.3-py310-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/7602968629/artifacts/1184137142
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1184137142 2024-1.0-py310-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/suites/18255550871/artifacts/1055091561
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1055091561 2023-3.3-py311-tiled
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/7602968629/artifacts/1184137144
bash ${GITHUB_WORKSPACE}/download-artifacts.sh nsls2-collection-tiled 1184137144 2024-1.0-py311-tiled
- name: Upload artifacts to Zenodo
run: |
Expand Down
10 changes: 5 additions & 5 deletions test-upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ def create_new_version(

notes_urls = [
# non-tiled
"https://github.com/nsls2-conda-envs/nsls2-collection/pull/26",
"https://github.com/nsls2-conda-envs/nsls2-collection/actions/runs/6893976610",
"https://github.com/nsls2-conda-envs/nsls2-collection/pull/28",
"https://github.com/nsls2-conda-envs/nsls2-collection/actions/runs/7603753363",
# need this empty line to enforce line break on Zenodo:
"",
# tiled
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/pull/25",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/6893985933",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/pull/28",
"https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/7602968629",
]
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"
version = "2023-3.3"
version = "2024-1.0"
token = os.environ["ZENODO_TOKEN"]

resp = create_new_version(
Expand Down

0 comments on commit 1f6a363

Please sign in to comment.