Skip to content

Test package upload #22

Test package upload

Test package upload #22

Workflow file for this run

name: Package
on: [push]
jobs:
build:
name: Build package
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
target-platform: linux-64
- os: windows-latest
target-platform: win-64
- os: macos-latest
target-platform: osx-64
steps:
- uses: actions/checkout@v4
- name: Build conda package
uses: prefix-dev/[email protected]
with:
artifact-name: package-${{ matrix.target-platform }}
- name: Upload packages
run: |
for pkg in $(find output -type f \( -name "*.conda" -o -name "*.tar.bz2" \) ); do
echo "Uploading ${pkg}"
rattler-build upload prefix -c fmi-faim "${pkg}"
done
shell: bash
env:
PREFIX_API_KEY: ${{ secrets.PREFIX_API_KEY }}