diff --git a/.github/workflows/rattler.yml b/.github/workflows/rattler.yml new file mode 100644 index 0000000..cc3e545 --- /dev/null +++ b/.github/workflows/rattler.yml @@ -0,0 +1,20 @@ +name: Package + +on: [push] + +jobs: + build: + name: Build package + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build conda package + uses: prefix-dev/rattler-build-action@v0.2.14 + # TODO + # - run: | + # for pkg in $(find output -type f \( -name "*.conda" -o -name "*.tar.bz2" \) ); do + # echo "Uploading ${pkg}" + # rattler-build upload prefix -c my-channel "${pkg}" + # done + # env: + # PREFIX_API_KEY: ${{ secrets.PREFIX_API_KEY }} diff --git a/recipe/build.sh b/conda.recipe/build.sh similarity index 100% rename from recipe/build.sh rename to conda.recipe/build.sh diff --git a/recipe/recipe.yaml b/conda.recipe/recipe.yaml similarity index 100% rename from recipe/recipe.yaml rename to conda.recipe/recipe.yaml