Skip to content

Commit 319ca08

Browse files
committed
maybe it's the space
1 parent 6681e22 commit 319ca08

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/publish_yak.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,24 @@ jobs:
6060
$test_flag = if ($Env:TEST_FLAG) { $Env:TEST_FLAG } else { "" }
6161
$file = Get-ChildItem -Path dist\yak_package\*rh7*.yak -File | Select-Object -ExpandProperty Name
6262
$command = "invoke publish-yak -y dist\yak_package\$file $test_flag".Trim()
63-
echo "Executing: $command"
63+
Invoke-Expression $command
6464
env:
6565
YAK_TOKEN: ${{ secrets.YAK_DF_TOKEN }}
6666

67-
# - name: Create Rhino8 Yak package
68-
# shell: pwsh
69-
# run: |
70-
# invoke yakerize -m $Env:YAK_TEMPLATE\manifest.yml -l $Env:YAK_TEMPLATE\icon.png -g $Env:USER_OBJECTS -t rh8
71-
# env:
72-
# USER_OBJECTS: src\compas_ghpython\components_cpython\ghuser
73-
# YAK_TEMPLATE: src\compas_ghpython\yak_template
67+
- name: Create Rhino8 Yak package
68+
shell: pwsh
69+
run: |
70+
invoke yakerize -m $Env:YAK_TEMPLATE\manifest.yml -l $Env:YAK_TEMPLATE\icon.png -g $Env:USER_OBJECTS -t rh8
71+
env:
72+
USER_OBJECTS: src\compas_ghpython\components_cpython\ghuser
73+
YAK_TEMPLATE: src\compas_ghpython\yak_template
7474

75-
# - name: Publish to Yak server (Rhino 8)
76-
# shell: pwsh
77-
# run: |
78-
# $test_flag = if ($Env:TEST_FLAG) { $Env:TEST_FLAG } else { "" }
79-
# $file = Get-ChildItem -Path dist\yak_package\*rh8*.yak -File | Select-Object -ExpandProperty Name
80-
# invoke publish-yak $test_flag -y dist\yak_package\$file
81-
# env:
82-
# YAK_TOKEN: ${{ secrets.YAK_DF_TOKEN }}
75+
- name: Publish to Yak server (Rhino 8)
76+
shell: pwsh
77+
run: |
78+
$test_flag = if ($Env:TEST_FLAG) { $Env:TEST_FLAG } else { "" }
79+
$file = Get-ChildItem -Path dist\yak_package\*rh8*.yak -File | Select-Object -ExpandProperty Name
80+
$command = "invoke publish-yak -y dist\yak_package\$file $test_flag".Trim()
81+
Invoke-Expression $command
82+
env:
83+
YAK_TOKEN: ${{ secrets.YAK_DF_TOKEN }}

0 commit comments

Comments
 (0)