Skip to content

sofa-python3-py38

sofa-python3-py38 #10

name: sofa-python3-py38
on:
workflow_dispatch:
inputs:
platform:
description: "Platform"
required: true
type: choice
options:
- '["linux-64", "osx-64", "win-64"]'
- '["linux-64"]'
- '["osx-64"]'
- '["win-64"]'
env:
TARGET_RUNNER: >
${{ fromJson('{
"linux-64": "ubuntu-latest",
"osx-64": "macos-13",
"win-64": "windows-latest"
}')[github.event.inputs.platform] }}
jobs:
get-env-vars:
runs-on: ubuntu-latest
outputs:
target_runner: ${{ steps.init.outputs.target_runner }}
steps:
- name: Pass env vars to the reusable workflow
id: init
run: |
echo "target_runner=${{ env.TARGET_RUNNER }}" >> $GITHUB_OUTPUT
build-publish-sofa-python3-py38:
uses: ./.github/workflows/build_publish_package.yml
with:
package-name: sofa-python3
os: ubuntu-latest
platform: ${{ github.event.inputs.platform }}
python: python-3.8
anaconda-channel: sofa-framework-prerelease
secrets:
anaconda-token: ${{ secrets.ANACONDA_PRERELEASE_TOKEN }}