-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated files with 'repo_helper'. (#3)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
- Loading branch information
1 parent
470b446
commit 5123528
Showing
13 changed files
with
90 additions
and
84 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
|
||
set -e -x | ||
|
||
python -m repo_helper make-recipe || exit 1 | ||
|
||
# Switch to miniconda | ||
source "/home/runner/miniconda/etc/profile.d/conda.sh" | ||
hash -r | ||
conda activate base | ||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q conda | ||
conda install conda-build | ||
conda install anaconda-client | ||
conda info -a | ||
|
||
conda config --add channels domdfcoding || exit 1 | ||
|
||
conda config --add channels conda-forge || exit 1 | ||
|
||
conda build conda -c domdfcoding -c conda-forge --output-folder conda/dist --skip-existing | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
|
||
set -e -x | ||
|
||
# Switch to miniconda | ||
source "/home/runner/miniconda/etc/profile.d/conda.sh" | ||
hash -r | ||
conda activate base | ||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q conda | ||
conda install anaconda-client | ||
conda info -a | ||
|
||
for f in conda/dist/noarch/toctree_plus-*.tar.bz2; do | ||
[ -e "$f" ] || continue | ||
echo "$f" | ||
conda install "$f" || exit 1 | ||
echo "Deploying to Anaconda.org..." | ||
anaconda -t "$ANACONDA_TOKEN" upload "$f" || exit 1 | ||
echo "Successfully deployed to Anaconda.org." | ||
done | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
name: Artefact Cleaner | ||
on: | ||
schedule: | ||
- cron: 0 9 1 * * | ||
jobs: | ||
Clean: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: cleanup | ||
uses: glassechidna/artifact-cleaner@v2 | ||
with: | ||
minimumAge: 1000000.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters