@@ -27,56 +27,53 @@ jobs:
2727 else {
2828 echo "TEST_FLAG=" | Out-File -FilePath $env:GITHUB_ENV -Append
2929 }
30- - name : debug
31- run : |
32- echo "Environment: $env:TEST_FLAG"
3330
34- # - name: Checkout repo
35- # uses: actions/checkout@v4
31+ - name : Checkout repo
32+ uses : actions/checkout@v4
3633
37- # - name: Install dependencies
38- # run: |
39- # python -m pip install --upgrade pip
40- # pip install .[dev]
34+ - name : Install dependencies
35+ run : |
36+ python -m pip install --upgrade pip
37+ pip install .[dev]
4138
42- # - name: Create CPython Grasshopper user objects
43- # run: |
44- # invoke build-cpython-ghuser-components
39+ - name : Create CPython Grasshopper user objects
40+ run : |
41+ invoke build-cpython-ghuser-components
4542
46- # - name: Create IronPython Grasshopper user objects
47- # run: |
48- # choco install ironpython --version=2.7.8.1
49- # invoke clean
50- # invoke build-ghuser-components
43+ - name : Create IronPython Grasshopper user objects
44+ run : |
45+ choco install ironpython --version=2.7.8.1
46+ invoke clean
47+ invoke build-ghuser-components
5148
52- # - name: Create Rhino7 Yak package
53- # shell: pwsh
54- # run: |
55- # invoke yakerize -m $Env:YAK_TEMPLATE\manifest.yml -l $Env:YAK_TEMPLATE\icon.png -g $Env:USER_OBJECTS -t rh7
56- # env:
57- # USER_OBJECTS: src\compas_ghpython\components\ghuser
58- # YAK_TEMPLATE: src\compas_ghpython\yak_template
49+ - name : Create Rhino7 Yak package
50+ shell : pwsh
51+ run : |
52+ invoke yakerize -m $Env:YAK_TEMPLATE\manifest.yml -l $Env:YAK_TEMPLATE\icon.png -g $Env:USER_OBJECTS -t rh7
53+ env :
54+ USER_OBJECTS : src\compas_ghpython\components\ghuser
55+ YAK_TEMPLATE : src\compas_ghpython\yak_template
5956
60- # - name: Publish to Yak test server (Rhino 7)
61- # shell: pwsh
62- # run: |
63- # $file = Get-ChildItem -Path dist\yak_package\*rh7*.yak -File | Select-Object -ExpandProperty Name
64- # invoke publish-yak $Env:TEST_FLAG -y dist\yak_package\$file
65- # env:
66- # YAK_TOKEN: ${{ secrets.YAK_DF_TOKEN }}
57+ - name : Publish to Yak test server (Rhino 7)
58+ shell : pwsh
59+ run : |
60+ $file = Get-ChildItem -Path dist\yak_package\*rh7*.yak -File | Select-Object -ExpandProperty Name
61+ invoke publish-yak $Env:TEST_FLAG -y dist\yak_package\$file
62+ env :
63+ YAK_TOKEN : ${{ secrets.YAK_DF_TOKEN }}
6764
68- # - name: Create Rhino8 Yak package
69- # shell: pwsh
70- # run: |
71- # invoke yakerize -m $Env:YAK_TEMPLATE\manifest.yml -l $Env:YAK_TEMPLATE\icon.png -g $Env:USER_OBJECTS -t rh8
72- # env:
73- # USER_OBJECTS: src\compas_ghpython\components_cpython\ghuser
74- # YAK_TEMPLATE: src\compas_ghpython\yak_template
65+ - name : Create Rhino8 Yak package
66+ shell : pwsh
67+ run : |
68+ invoke yakerize -m $Env:YAK_TEMPLATE\manifest.yml -l $Env:YAK_TEMPLATE\icon.png -g $Env:USER_OBJECTS -t rh8
69+ env :
70+ USER_OBJECTS : src\compas_ghpython\components_cpython\ghuser
71+ YAK_TEMPLATE : src\compas_ghpython\yak_template
7572
76- # - name: Publish to Yak test server (Rhino 8)
77- # shell: pwsh
78- # run: |
79- # $file = Get-ChildItem -Path dist\yak_package\*rh8*.yak -File | Select-Object -ExpandProperty Name
80- # invoke publish-yak $Env:TEST_FLAG -y dist\yak_package\$file
81- # env:
82- # YAK_TOKEN: ${{ secrets.YAK_DF_TOKEN }}
73+ - name : Publish to Yak test server (Rhino 8)
74+ shell : pwsh
75+ run : |
76+ $file = Get-ChildItem -Path dist\yak_package\*rh8*.yak -File | Select-Object -ExpandProperty Name
77+ invoke publish-yak $Env:TEST_FLAG -y dist\yak_package\$file
78+ env :
79+ YAK_TOKEN : ${{ secrets.YAK_DF_TOKEN }}
0 commit comments