-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (42 loc) · 1.22 KB
/
sofa-python3-py38.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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:
# needs: get-env-vars
uses: ./.github/workflows/build_publish_package.yml
with:
package-name: sofa-python3
# os: ubuntu-latest
# os: ${{ needs.get-env-vars.outputs.target_runner }}
platform: ${{ github.event.inputs.platform }}
python: python-3.8
anaconda-channel: sofa-framework-prerelease
secrets:
anaconda-token: ${{ secrets.ANACONDA_PRERELEASE_TOKEN }}