Test package upload #22
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
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 }} |